From 92061564e2a8ccaa6a0e1da5f18a2b1cbf87aebd 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 e2a7170e6c..dd0d61f690 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -10,7 +10,7 @@ def add_deposit_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['deposit'], = Account.find([ ('type.deposit', '=', True),