mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[MIG] account_statement_import_camt54: Migration to 15.0
This commit is contained in:
@@ -4,13 +4,15 @@
|
||||
import base64
|
||||
|
||||
from odoo.modules.module import get_module_resource
|
||||
from odoo.tests.common import SavepointCase
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
|
||||
class TestGenerateBankStatement(SavepointCase):
|
||||
class TestGenerateBankStatement(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
eur = cls.env.ref("base.EUR")
|
||||
eur.write({"active": True})
|
||||
bank = cls.env["res.partner.bank"].create(
|
||||
{
|
||||
"acc_number": "NL77ABNA0574908765",
|
||||
@@ -33,7 +35,7 @@ class TestGenerateBankStatement(SavepointCase):
|
||||
"code": "TBNKCAMT",
|
||||
"type": "bank",
|
||||
"bank_account_id": bank.id,
|
||||
"currency_id": cls.env.ref("base.EUR").id,
|
||||
"currency_id": eur.id,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user