[MIG] account_statement_import_camt54: Migration to 15.0

This commit is contained in:
Maksym Yankin
2022-01-26 15:34:13 +02:00
parent 13b6150578
commit 85d759991a
9 changed files with 24 additions and 20 deletions

View File

@@ -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,
}
)