Remove wrong depends

This commit is contained in:
Cédric Krier
2013-03-27 22:41:45 +01:00
parent ea4e6117fd
commit b5b0b2b60f
+2 -2
View File
@@ -18,7 +18,7 @@ class Category:
states={
'invisible': (~Eval('context', {}).get('company')
| Eval('account_parent')),
}, depends=['type']))
}))
account_depreciation_used = fields.Function(
fields.Many2One('account.account', 'Account Depreciation Used'),
'get_account')
@@ -31,7 +31,7 @@ class Category:
states={
'invisible': (~Eval('context', {}).get('company')
| Eval('account_parent')),
}, depends=['type']))
}))
account_asset_used = fields.Function(
fields.Many2One('account.account', 'Account Asset Used'),
'get_account')