From c877e46e20a44341fd7720f866e829d6c90e7fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 12 Apr 2011 15:09:58 +0200 Subject: [PATCH] Add missing depends for new domain on account type --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index 4e82e9dcb6..b4eafbf774 100644 --- a/account.py +++ b/account.py @@ -158,7 +158,7 @@ class Type(ModelSQL, ModelView): childs = fields.One2Many('account.account.type', 'parent', 'Children', domain=[ ('company', '=', Eval('company')), - ]) + ], depends=['company']) sequence = fields.Integer('Sequence', required=True, help='Use to order the account type') currency_digits = fields.Function(fields.Integer('Currency Digits'),