[IMP] account_financial_report: test performance improvement

This commit is contained in:
josep-tecnativa
2023-10-13 09:24:14 +02:00
committed by chaule97
parent 2492c112c7
commit 35c26b2893
6 changed files with 64 additions and 3 deletions

View File

@@ -12,6 +12,16 @@ class TestOpenItems(AccountTestInvoicingCommon):
@classmethod
def setUpClass(cls, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.env = cls.env(
context=dict(
cls.env.context,
mail_create_nolog=True,
mail_create_nosubscribe=True,
mail_notrack=True,
no_reset_password=True,
tracking_disable=True,
)
)
def test_partner_filter(self):
partner_1 = self.env.ref("base.res_partner_1")