Skip to content

Commit

Permalink
Merge PR #1745 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Oct 13, 2023
2 parents 2c8b8c5 + d030726 commit 2d4d4fe
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions account_lock_date_update/tests/test_account_lock_date_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ class TestAccountLockDateUpdate(TransactionCase):
@classmethod
def setUpClass(cls):
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.company = cls.env.ref("base.main_company")
cls.demo_user = cls.env.ref("base.user_demo")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ class TestAccountMoveLineTaxEditable(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,
)
)
refund_repartitions = cls.company_data[
"default_tax_sale"
].refund_repartition_line_ids
Expand Down

0 comments on commit 2d4d4fe

Please sign in to comment.