From 2c24cab714f334e737d10b8ddfab45ea649b734c 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 9a40698e70..55b8ebb69f 100644 --- a/tests/tools.py +++ b/tests/tools.py @@ -28,7 +28,7 @@ def set_fiscalyear_invoice_sequences(fiscalyear, config=None): def create_payment_term(config=None): "Create a direct payment term" - PaymentTerm = Model.get('account.invoice.payment_term') + PaymentTerm = Model.get('account.invoice.payment_term', config=config) payment_term = PaymentTerm(name='Direct') payment_term.lines.new(type='remainder')