Add missing depends for new domain on account type

This commit is contained in:
Cédric Krier committed 2011-04-12 15:09:58 +02:00
1 parent 33cdcc59ad
commit c877e46e20
1 file changed
+1 -1
+1 -1
View File
@@ -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'),