FIX scenario test: set only_file to generate file
From changeset d7488ed6d9
This commit is contained in:
parent
57d6b5f120
commit
a5bf6fb2f6
|
@ -166,6 +166,10 @@ class AccountInvoiceFacturaeTestCase(CompanyTestMixin, ModuleTestCase):
|
||||||
currency = create_currency('Eur')
|
currency = create_currency('Eur')
|
||||||
add_currency_rate(currency, 1)
|
add_currency_rate(currency, 1)
|
||||||
|
|
||||||
|
configuration = Configuration(1)
|
||||||
|
configuration.facturae_service = 'only_file'
|
||||||
|
configuration.save()
|
||||||
|
|
||||||
with Transaction().set_user(0):
|
with Transaction().set_user(0):
|
||||||
invoice = Invoice()
|
invoice = Invoice()
|
||||||
invoice.type = 'out'
|
invoice.type = 'out'
|
||||||
|
|
Loading…
Reference in New Issue