[FIX] web: do not set the one2many dirty on field validation

This rev. 06104ba553

Added the dirty flag on the o2m field when the editor of the editable list was enabled (meaning that the editable list has been altered)) because the dirty flag was not set correctly by the one2many during the edition, at the time.

It looks like this is now the case

Besides, as now, we valid all the editable list of the form, wether or not the editable list was altered, we must not set the o2m as dirty anymore.
This commit is contained in:
Denis Ledoux 2014-11-14 15:49:39 +01:00
parent 3613b74df3
commit da15c9d27b
1 changed files with 0 additions and 1 deletions

View File

@ -3885,7 +3885,6 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
if (!this.fields_view || !this.editable()){
return true;
}
this.o2m._dirty_flag = true;
var r;
return _.every(this.records.records, function(record){
r = record;