Browse Source

[FIX] Bug Fixed 'project_task_timer'

pull/124/head
Ajmalcybrosys 6 years ago
parent
commit
02151bf625
  1. 4
      project_task_timer/__manifest__.py
  2. 8
      project_task_timer/doc/RELEASE_NOTES.md
  3. 3
      project_task_timer/models/project_task_timer.py
  4. 2
      project_task_timer/views/project_task_timer_view.xml

4
project_task_timer/__manifest__.py

@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Project Task Timer',
'version': '12.0.1.0',
'version': '12.0.2.0',
'summary': """Task Timer With Start & Stop""",
'description': """"This module helps you to track time sheet in project automatically.""",
'category': 'Project',
@ -32,7 +32,7 @@
'views/project_timer_static.xml',
],
'images': ['static/description/banner.jpg'],
'license': 'AGPL-3',
'license': 'LGPL-3',
'demo': [],
'installable': True,
'auto_install': False,

8
project_task_timer/doc/RELEASE_NOTES.md

@ -1,4 +1,10 @@
## Module <project_task_timer>
#### 18.04.2019
#### Version 12.0.1.0.0
#### Version 12.0.1.0
Initial Commit for project_task_timer
#### 18.07.2019
#### Version 12.0.2.0
Bug Fixed

3
project_task_timer/models/project_task_timer.py

@ -37,8 +37,7 @@ class ProjectTaskTimer(models.Model):
'Is Current User Working', compute='_compute_is_user_working',
help="Technical field indicating whether the current user is working. ")
duration = fields.Float(
'Real Duration', compute='_compute_duration',
store=True)
'Real Duration', store=True)
def _compute_is_user_working(self):
""" Checks whether the current user is working """

2
project_task_timer/views/project_task_timer_view.xml

@ -35,7 +35,7 @@
<label for="duration"/>
<div>
<button style="pointer-events: none;" class="oe_inline label label-default">
<field name="duration" widget="timesheet_uoms" style="color: black;" />
<field name="duration" id="real_duration" widget="timesheet_uoms" style="color: red;" />
</button>
</div>
</xpath>

Loading…
Cancel
Save