[FIX] core: handle multiple m2o levels in Form

closes odoo/odoo#31335
This commit is contained in:
Christophe Simonis
2019-02-21 17:03:27 +00:00
parent cdc6b598e3
commit b2db72c9d1
+1 -1
View File
@@ -1435,7 +1435,7 @@ class Form(object):
return []
v = []
c = {t[1]: t[2] for t in current if t[0] == 1}
c = {t[1]: t[2] for t in current if t[0] == 1} if current else {}
# which view should this be???
subfields = descr['views']['edition']['fields']
for command in value: