[FIX] hr_timesheet_sheet: revert stupid fix in 8095.1.1 that created very obvious...
authorniv-openerp <nicolas.vanhoren@openerp.com>
Mon, 17 Dec 2012 11:13:37 +0000 (12:13 +0100)
committerniv-openerp <nicolas.vanhoren@openerp.com>
Mon, 17 Dec 2012 11:13:37 +0000 (12:13 +0100)
bzr revid: nicolas.vanhoren@openerp.com-20121217111337-uisq0ym13vhzye8b

addons/hr_timesheet_sheet/static/src/js/timesheet.js

index b5ba7f7..fe7d0c8 100644 (file)
@@ -14,7 +14,7 @@ openerp.hr_timesheet_sheet = function(instance) {
                 date_to: false,
                 date_from: false,
             });
-            this.updating = true;
+            this.updating = false;
             this.field_manager.on("field_changed:timesheet_ids", this, this.query_sheets);
             this.field_manager.on("field_changed:date_from", this, function() {
                 this.set({"date_from": instance.web.str_to_date(this.field_manager.get_field_value("date_from"))});