[MERGE] forward port of branch saas-3 up to c11451c
[odoo/odoo.git] / addons / web / static / src / js / view_form.js
index 67a16a8..e281845 100644 (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;