From b5b0b2b60fe755c4b4789a40e85d68b3b01ded2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 27 Mar 2013 22:41:45 +0100 Subject: [PATCH] Remove wrong depends --- product.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product.py b/product.py index 4b1be35c44..3c058e9787 100644 --- a/product.py +++ b/product.py @@ -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')