commit
2d4d4feba8
@ -10,6 +10,16 @@ class TestAccountLockDateUpdate(TransactionCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
super().setUpClass()
|
super().setUpClass()
|
||||||
|
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,
|
||||||
|
)
|
||||||
|
)
|
||||||
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
|
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
|
||||||
cls.company = cls.env.ref("base.main_company")
|
cls.company = cls.env.ref("base.main_company")
|
||||||
cls.demo_user = cls.env.ref("base.user_demo")
|
cls.demo_user = cls.env.ref("base.user_demo")
|
||||||
|
@ -11,6 +11,16 @@ class TestAccountMoveLineTaxEditable(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.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,
|
||||||
|
)
|
||||||
|
)
|
||||||
refund_repartitions = cls.company_data[
|
refund_repartitions = cls.company_data[
|
||||||
"default_tax_sale"
|
"default_tax_sale"
|
||||||
].refund_repartition_line_ids
|
].refund_repartition_line_ids
|
||||||
|
Loading…
Reference in New Issue
Block a user