[MERGE] forward port of branch 7.0 up to 9a37e5a

This commit is contained in:
Denis Ledoux
2014-11-05 10:29:27 +01:00
+1 -1
View File
@@ -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;