Skip to content

Commit abc8006

Browse files
committed
[IMP] account_payment_mode_auto_reconcile: Improve tests
1 parent e3e2370 commit abc8006

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

account_payment_mode_auto_reconcile/tests/test_partner_auto_reconcile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
33
from datetime import date, timedelta
44

5-
from odoo.tests import TransactionCase
65
from odoo.tools import DEFAULT_SERVER_DATE_FORMAT as DATE_FORMAT
76

7+
from odoo.addons.base.tests.common import BaseCommon
88

9-
class TestPartnerAutoReconcile(TransactionCase):
9+
10+
class TestPartnerAutoReconcile(BaseCommon):
1011
@classmethod
1112
def setUpClass(cls):
12-
super(TestPartnerAutoReconcile, cls).setUpClass()
13-
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
13+
super().setUpClass()
1414
cls.acc_rec = cls.env["account.account"].create(
1515
{
1616
"name": "Receivable",

0 commit comments

Comments
 (0)