Always use proteus config argument in testing tools
issue10548 review338421002
This commit is contained in:
1 parent
055f6c42bf
commit
2abacd6547
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ def add_asset_accounts(accounts, company=None, config=None):
|
||||
Account = Model.get('account.account', config=config)
|
||||
|
||||
if not company:
|
||||
company = get_company()
|
||||
company = get_company(config=config)
|
||||
|
||||
accounts['asset'], = Account.find([
|
||||
('type.fixed_asset', '=', True),
|
||||
|
||||
Reference in new issue
Block a user