Skip to content

Commit

Permalink
🚑 The timer does not stop automatically after the end of the time for…
Browse files Browse the repository at this point in the history
… a subtask (#652)
  • Loading branch information
Dinar authored and Ivan Yelizariev committed Nov 21, 2018
1 parent e308873 commit 618eff5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project_timelog/__openerp__.py
Expand Up @@ -3,7 +3,7 @@
"name": """Time Tracker""",
"summary": """Adds Start/Stop buttons to task work lines. Allows to see statistics on Calendar, Graph, Tree views and more""",
"category": "Project",
"version": "8.0.1.0.0",
"version": "8.0.1.0.1",
"images": ['images/timelog.png'],
"author": "IT-Projects LLC, Dinar Gabbasov",
'website': "https://twitter.com/gabbasov_dinar",
Expand Down
5 changes: 5 additions & 0 deletions project_timelog/doc/changelog.rst
@@ -1,3 +1,8 @@
`1.0.1`
-------

- **Fix:** The timer does not stop automatically after the end of the time for a subtask

`1.0.0`
-------

Expand Down
2 changes: 1 addition & 1 deletion project_timelog/static/src/js/timelog.js
Expand Up @@ -290,7 +290,7 @@ $(document).ready(function() {
return false;
}
var model = new openerp.web.Model('project.task.work');
model.call("stop_timer", [self.work_id, true, false]).then(function(){
model.call("stop_timer", [self.config.work_id, true, false]).then(function(){
self.finish_status = true;
var element = document.getElementById("clock0");
self.startAnim(element, 500, 10*500);
Expand Down

0 comments on commit 618eff5

Please sign in to comment.