Always use proteus config argument in testing tools
issue10548 review338421002
This commit is contained in:
1 parent
ef146e76c3
commit
82aa040433
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ def add_deferred_accounts(accounts, company=None, config=None):
|
||||
Configuration = Model.get('account.configuration', config=config)
|
||||
|
||||
if not company:
|
||||
company = get_company()
|
||||
company = get_company(config=config)
|
||||
|
||||
asset_type, = AccountType.find([
|
||||
('statement', '=', 'balance'),
|
||||
|
||||
Reference in new issue
Block a user