From a8772445c7e76d8a4e90bb576aaba00a0df1ad8e Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 8 Oct 2012 18:22:24 +0200 Subject: [PATCH] fixed bug bzr revid: nicolas.vanhoren@openerp.com-20121008162224-inmlqdcj4jd96g67 --- addons/hr_timesheet_sheet/static/src/js/timesheet.js | 1 + 1 file changed, 1 insertion(+) 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;