From b2db72c9d132174a0b3c4eae43997e970a66497c Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 21 Feb 2019 17:03:27 +0000 Subject: [PATCH] [FIX] core: handle multiple m2o levels in Form closes odoo/odoo#31335 --- odoo/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/tests/common.py b/odoo/tests/common.py index d6ba11d17ac..447c6ace2f0 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -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: