From 02151bf625f12c15c1d930aed8201b94bbb4a00d Mon Sep 17 00:00:00 2001 From: Ajmalcybrosys Date: Thu, 18 Jul 2019 09:51:21 +0530 Subject: [PATCH] [FIX] Bug Fixed 'project_task_timer' --- project_task_timer/__manifest__.py | 4 ++-- project_task_timer/doc/RELEASE_NOTES.md | 8 +++++++- project_task_timer/models/project_task_timer.py | 3 +-- project_task_timer/views/project_task_timer_view.xml | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/project_task_timer/__manifest__.py b/project_task_timer/__manifest__.py index 357f44929..bacda864c 100644 --- a/project_task_timer/__manifest__.py +++ b/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, diff --git a/project_task_timer/doc/RELEASE_NOTES.md b/project_task_timer/doc/RELEASE_NOTES.md index 8e8069b89..db94a3153 100644 --- a/project_task_timer/doc/RELEASE_NOTES.md +++ b/project_task_timer/doc/RELEASE_NOTES.md @@ -1,4 +1,10 @@ ## Module #### 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 diff --git a/project_task_timer/models/project_task_timer.py b/project_task_timer/models/project_task_timer.py index b7c5e9f28..cdcd6c478 100644 --- a/project_task_timer/models/project_task_timer.py +++ b/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 """ diff --git a/project_task_timer/views/project_task_timer_view.xml b/project_task_timer/views/project_task_timer_view.xml index 47f35722b..3c7bbc636 100644 --- a/project_task_timer/views/project_task_timer_view.xml +++ b/project_task_timer/views/project_task_timer_view.xml @@ -35,7 +35,7 @@