[FIX] payment: use a defined currency
Following f3a3e34150, the l10n tests were failing due to the main
currency changing to a currency not available for the test provider.
closes odoo/odoo#109916
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -79,7 +79,9 @@ class PaymentCommon(BaseCommon):
|
||||
'is_published': True,
|
||||
'allow_tokenization': True,
|
||||
'redirect_form_view_id': redirect_form.id,
|
||||
'available_currency_ids': [Command.set((cls.currency_euro + cls.currency_usd).ids)],
|
||||
'available_currency_ids': [Command.set(
|
||||
(cls.currency_euro + cls.currency_usd + cls.env.company.currency_id).ids
|
||||
)],
|
||||
})
|
||||
|
||||
cls.provider = cls.dummy_provider
|
||||
|
||||
Reference in New Issue
Block a user