[IMP] account_statement_base: no need to depend on account_reconcile_model_oca tests

This commit is contained in:
Duy (Đỗ Anh)
2024-11-14 11:05:38 +07:00
parent 6e856dc49c
commit c43f3b4f26

View File

@@ -1,16 +1,15 @@
from odoo import Command from odoo import Command
from odoo.tests import tagged from odoo.tests import tagged
from odoo.addons.account_reconcile_model_oca.tests.common import ( from odoo.addons.account.tests.common import AccountTestInvoicingCommon
TestAccountReconciliationCommon,
)
@tagged("post_install", "-at_install") @tagged("post_install", "-at_install")
class TestReconciliationWidget(TestAccountReconciliationCommon): class TestOpenEntries(AccountTestInvoicingCommon):
@classmethod @classmethod
def setUpClass(cls, chart_template_ref=None): def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref) super().setUpClass(chart_template_ref=chart_template_ref)
cls.company = cls.company_data["company"]
cls.acc_bank_stmt_model = cls.env["account.bank.statement"] cls.acc_bank_stmt_model = cls.env["account.bank.statement"]
cls.account_move_model = cls.env["account.move"] cls.account_move_model = cls.env["account.move"]
cls.account_move_line_model = cls.env["account.move.line"] cls.account_move_line_model = cls.env["account.move.line"]