Skip to content

Commit 0fabadc

Browse files
[IMP] edi_voxel_account_invoice_oca: test performance improvement
- Include context keys for avoiding mail operations overhead.
1 parent 9bc8359 commit 0fabadc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

edi_voxel_stock_picking_oca/tests/test_voxel_stock_picking.py

+10
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ class TestVoxelStockPickingCommon(TransactionCase):
1111
@classmethod
1212
def setUpClass(cls):
1313
super().setUpClass()
14+
cls.env = cls.env(
15+
context=dict(
16+
cls.env.context,
17+
mail_create_nolog=True,
18+
mail_create_nosubscribe=True,
19+
mail_notrack=True,
20+
no_reset_password=True,
21+
tracking_disable=True,
22+
)
23+
)
1424
# Sale order company
1525
country = cls.env["res.country"].create({"name": "Country", "code": "CT"})
1626
state = cls.env["res.country.state"].create(

0 commit comments

Comments
 (0)