FIX scenario test: set only_file to generate file

From changeset d7488ed6d9
This commit is contained in:
Raimon Esteve 2023-08-21 11:57:33 +02:00
parent 57d6b5f120
commit a5bf6fb2f6
1 changed files with 4 additions and 0 deletions

View File

@ -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'