[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:
Denis Ledoux 2014-11-05 10:26:57 +01:00
parent be7c894cfd
commit 9a37e5a59a
1 changed files with 1 additions and 1 deletions

View File

@ -3882,7 +3882,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;