[FIX] hr_timesheet_sheet: set timesheet widget dirty when editing

Without this commit, there was no warning displayed when clicking
on a button that would make the user lose all he entered in the
widget, which is insonsistent with other odoo widgets.

opw-684276
This commit is contained in:
Jeremy Kersten
2016-08-01 09:04:58 +02:00
committed by David Monjoie
parent 337049baa8
commit 7f86272b94
@@ -177,6 +177,7 @@ openerp.hr_timesheet_sheet = function(instance) {
}
},
is_valid_value:function(value){
this.view.do_notify_change();
var split_value = value.split(":");
var valid_value = true;
if (split_value.length > 2)