[FIX] web: regard the view_list has valid if not yet loaded
This fix is related to df845940ed
Fixes #3469
This commit is contained in:
parent
be7c894cfd
commit
9a37e5a59a
|
@ -3882,7 +3882,7 @@ instance.web.form.One2ManyListView = instance.web.ListView.extend({
|
||||||
},
|
},
|
||||||
is_valid: function () {
|
is_valid: function () {
|
||||||
var self = this;
|
var self = this;
|
||||||
if (!this.editable()){
|
if (!this.fields_view || !this.editable()){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
this.o2m._dirty_flag = true;
|
this.o2m._dirty_flag = true;
|
||||||
|
|
Loading…
Reference in New Issue