From 0a031bcde48dbcc83d83c9b2747390a6726e40a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Thu, 17 Nov 2022 08:50:54 +0100 Subject: [PATCH] [FIX] account_banking_sepa_credit_transfer: Change the variable name in tests. --- account_banking_sepa_credit_transfer/tests/test_sct.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_banking_sepa_credit_transfer/tests/test_sct.py b/account_banking_sepa_credit_transfer/tests/test_sct.py index a457ca115..190432aec 100644 --- a/account_banking_sepa_credit_transfer/tests/test_sct.py +++ b/account_banking_sepa_credit_transfer/tests/test_sct.py @@ -352,7 +352,7 @@ class TestSCT(SavepointCase): currency_id, price_unit, reference, - type="in_invoice", + invoice_type="in_invoice", ): data = { "partner_id": partner_id, @@ -360,7 +360,7 @@ class TestSCT(SavepointCase): "ref": reference, "currency_id": currency_id, "invoice_date": time.strftime("%Y-%m-%d"), - "type": type, + "type": invoice_type, "payment_mode_id": cls.payment_mode.id, "invoice_partner_bank_id": cls.env.ref(partner_bank_xmlid).id, "invoice_line_ids": [],