mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[15.0][MIG] mrp_multi_level
This commit is contained in:
committed by
Lois Rilo
parent
eb236f7888
commit
ec93a5fe41
@@ -212,11 +212,9 @@ class TestMrpMultiLevel(TestMrpMultiLevelCommon):
|
||||
[("product_mrp_area_id.product_id", "=", self.fp_1.id)]
|
||||
)
|
||||
self.mrp_inventory_procure_wiz.with_context(
|
||||
{
|
||||
"active_model": "mrp.inventory",
|
||||
"active_ids": mrp_inv.ids,
|
||||
"active_id": mrp_inv.id,
|
||||
}
|
||||
active_model="mrp.inventory",
|
||||
active_ids=mrp_inv.ids,
|
||||
active_id=mrp_inv.id,
|
||||
).create({}).make_procurement()
|
||||
mos = self.mo_obj.search([("product_id", "=", self.fp_1.id)])
|
||||
self.assertTrue(mos)
|
||||
|
||||
Reference in New Issue
Block a user