[MERGE] forward port of branch saas-3 up to c11451c

This commit is contained in:
Denis Ledoux 2014-11-05 10:29:51 +01:00
commit 7582f91e1b
1 changed files with 1 additions and 1 deletions

View File

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