From df815651941f763c7d95a96e4a09aec4b12947da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 12 Jul 2021 22:56:26 +0200 Subject: [PATCH] Always use proteus config argument in testing tools issue10548 review338421002 --- tests/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tools.py b/tests/tools.py index 96b56195c3..f5f29baafa 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -10,7 +10,7 @@ def add_cogs_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['cogs'], = Account.find([ ('type.expense', '=', True),