Commit 30e102b0 authored by Jérome Perrin's avatar Jérome Perrin

Change Inventories simulation state to delivered, it's no longer implicit



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7181 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 786c2947
......@@ -186,6 +186,7 @@ class TestInventory(TestOrderMixin,ERP5TypeTestCase):
inventory_line.edit(resource_value = resource,
inventory = 12., # Arbitrary inventory ; it should be never accessed while aggregating items
aggregate_value_list = aggregate_value_list)
inventory.deliver()
inventory_list.append(inventory)
sequence.edit(inventory_list = inventory_list)
......@@ -207,6 +208,7 @@ class TestInventory(TestOrderMixin,ERP5TypeTestCase):
inventory_line.edit(resource_value = sequence.get('resource'),
inventory = 24.
)
inventory.deliver()
inventory_list.append(inventory)
sequence.edit(inventory_list=inventory_list)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment