[MERGE] forward port of branch 7.0 up to 9a37e5a
This commit is contained in:
commit
c11451c7e8
|
@ -4106,7 +4106,7 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
|||
},
|
||||
is_valid: function () {
|
||||
var self = this;
|
||||
if (!this.editable()){
|
||||
if (!this.fields_view || !this.editable()){
|
||||
return true;
|
||||
}
|
||||
this.o2m._dirty_flag = true;
|
||||
|
|
Loading…
Reference in New Issue