From a5bf6fb2f63ffd050fabaf4c860883e10a400c55 Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Mon, 21 Aug 2023 11:57:33 +0200 Subject: [PATCH] FIX scenario test: set only_file to generate file From changeset d7488ed6d9f32ac0d004211c2b76e6c1439fcaf8 --- tests/test_module.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_module.py b/tests/test_module.py index 7569c41..7b38c5b 100644 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -166,6 +166,10 @@ class AccountInvoiceFacturaeTestCase(CompanyTestMixin, ModuleTestCase): currency = create_currency('Eur') add_currency_rate(currency, 1) + configuration = Configuration(1) + configuration.facturae_service = 'only_file' + configuration.save() + with Transaction().set_user(0): invoice = Invoice() invoice.type = 'out'