Commit a2014bc6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

recording quantity property in simulation movements don't work well because we...

recording quantity property in simulation movements don't work well because we don't use quantity for matching.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1490512b
......@@ -515,8 +515,8 @@ class TestPackingListMixin(TestOrderMixin):
simulation_line_list = applied_rule.objectValues()
# self.assertEquals(len(simulation_line_list),1)
for simulation_line in simulation_line_list:
simulation_line.recordProperty('quantity')
simulation_line.edit(quantity=self.default_quantity-1)
simulation_line.getOrderValue().edit(quantity=self.default_quantity-1)
def stepModifySimulationLineQuantityForMergedLine(self,sequence=None, sequence_list=None, **kw):
"""
......@@ -526,8 +526,8 @@ class TestPackingListMixin(TestOrderMixin):
simulation_line_list = applied_rule.objectValues()
self.assertEquals(len(simulation_line_list),2)
for simulation_line in simulation_line_list:
simulation_line.recordProperty('quantity')
simulation_line.edit(quantity=self.default_quantity-1)
simulation_line.getOrderValue().edit(quantity=self.default_quantity-1)
def stepModifySimulationLineStartDate(self,sequence=None, sequence_list=None, **kw):
"""
......
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