Commit faa0fd3e authored by Tatuya Kamada's avatar Tatuya Kamada

Correct the wrong sentences in the comments.

parent 9eb21799
......@@ -97,7 +97,7 @@ class Inventory(Delivery):
disable_archive = kw.pop("disable_archive", 0)
draft_state_list = list(self.getPortalDraftOrderStateList())
# we need reindex when we do cancelling inventories
# we need reindex when cancelling inventories
if 'cancelled' in draft_state_list:
draft_state_list.remove('cancelled')
if self.getSimulationState() in draft_state_list:
......
......@@ -3034,7 +3034,7 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase):
stock:
1| movement | 2013/03/20 00:00:00 | 100
2| movement | 2013/03/20 00:00:00 | 100
3| movement | 2013/03/20 00:00:00 | -100
3| movement | 2013/03/20 00:00:01 | -100
getInventory() should return 100
......
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