mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] mrp_multi_level: Archiving a product should archive related MRP parameters
This commit is contained in:
committed by
JasminSForgeFlow
parent
3f93e09ed9
commit
093bd0d632
@@ -32,6 +32,10 @@ class TestMrpMultiLevel(TestMrpMultiLevelCommon):
|
||||
self.assertEqual(product_mrp_area.supply_method, "manufacture")
|
||||
self.assertFalse(product_mrp_area.main_supplier_id)
|
||||
self.assertFalse(product_mrp_area.main_supplierinfo_id)
|
||||
# Archiving the product should archive parameters:
|
||||
self.assertTrue(product_mrp_area.active)
|
||||
self.sf_1.active = False
|
||||
self.assertFalse(product_mrp_area.active)
|
||||
|
||||
def test_03_mrp_moves(self):
|
||||
"""Tests for mrp moves generated."""
|
||||
|
||||
Reference in New Issue
Block a user