projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[MERGE] forward port of branch saas-3 up to c11451c
[odoo/odoo.git]
/
addons
/
web
/
static
/
src
/
js
/
view_form.js
diff --git
a/addons/web/static/src/js/view_form.js
b/addons/web/static/src/js/view_form.js
index
67a16a8
..
e281845
100644
(file)
--- a/
addons/web/static/src/js/view_form.js
+++ b/
addons/web/static/src/js/view_form.js
@@
-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;