mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking_sepa_credit_transfer: fix inactive currency error in the tests
In case the currency is not active, the test fails because an invoice cannot be validated with an inactive currency TT43341
This commit is contained in:
@@ -29,7 +29,9 @@ class TestSCT(TransactionCase):
|
||||
cls.partner_asus = cls.env.ref("base.res_partner_1")
|
||||
cls.partner_c2c = cls.env.ref("base.res_partner_12")
|
||||
cls.eur_currency = cls.env.ref("base.EUR")
|
||||
cls.eur_currency.active = True
|
||||
cls.usd_currency = cls.env.ref("base.USD")
|
||||
cls.usd_currency.active = True
|
||||
cls.main_company = cls.env["res.company"].create(
|
||||
{"name": "Test EUR company", "currency_id": cls.eur_currency.id}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user