Skip to content

Commit

Permalink
Merge PR #176 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 19, 2023
2 parents dfa2779 + a65c4c6 commit af4a570
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion product_brand/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

from odoo.tests.common import TransactionCase

from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT


class CommonCase(TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
cls.product = cls.env.ref("product.product_product_4")
cls.supplier = cls.env.ref("base.res_partner_2")
cls.product_brand_obj = cls.env["product.brand"]
Expand Down

0 comments on commit af4a570

Please sign in to comment.