[Erp5-report] r31464 kazuhiko - /erp5/trunk/products/ERP5/tests/testPackingList.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 24 16:28:52 CET 2009
Author: kazuhiko
Date: Thu Dec 24 16:28:52 2009
New Revision: 31464
URL: http://svn.erp5.org?rev=31464&view=rev
Log:
recording quantity property in simulation movements don't work well because we don't use quantity for matching.
Modified:
erp5/trunk/products/ERP5/tests/testPackingList.py
Modified: erp5/trunk/products/ERP5/tests/testPackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPackingList.py?rev=31464&r1=31463&r2=31464&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] Thu Dec 24 16:28:52 2009
@@ -515,8 +515,8 @@
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 @@
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):
"""
More information about the Erp5-report
mailing list