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'),