summaryrefslogtreecommitdiff
path: root/addons/hr_timesheet_sheet/static
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-10-08 18:22:24 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-10-08 18:22:24 +0200
commita8772445c7e76d8a4e90bb576aaba00a0df1ad8e (patch)
tree39b2b14952cb79ccb48832e51c89e42ce3e25f1a /addons/hr_timesheet_sheet/static
parentd27242e164b3f2e73d32ef6b84baa45744b635e1 (diff)
fixed bug
bzr revid: nicolas.vanhoren@openerp.com-20121008162224-inmlqdcj4jd96g67
Diffstat (limited to 'addons/hr_timesheet_sheet/static')
-rw-r--r--addons/hr_timesheet_sheet/static/src/js/timesheet.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_timesheet_sheet/static/src/js/timesheet.js b/addons/hr_timesheet_sheet/static/src/js/timesheet.js
index 8f200f487b2..1be965fd63d 100644
--- a/addons/hr_timesheet_sheet/static/src/js/timesheet.js
+++ b/addons/hr_timesheet_sheet/static/src/js/timesheet.js
@@ -256,6 +256,7 @@ openerp.hr_timesheet_sheet = function(instance) {
self.get_super_total().html(super_tot);
},
sync: function() {
+ var self = this;
self.setting = true;
self.set({sheets: this.generate_o2m_value()});
self.setting = false;