[Erp5-report] r38941 yusei - /erp5/trunk/products/ERP5/tests/testRule.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 7 04:11:38 CEST 2010
Author: yusei
Date: Thu Oct 7 04:11:34 2010
New Revision: 38941
URL: http://svn.erp5.org?rev=38941&view=rev
Log:
Set quantity to 1, otherwise applied rule is not made.
Modified:
erp5/trunk/products/ERP5/tests/testRule.py
Modified: erp5/trunk/products/ERP5/tests/testRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testRule.py?rev=38941&r1=38940&r2=38941&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testRule.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testRule.py [utf8] Thu Oct 7 04:11:34 2010
@@ -92,7 +92,8 @@ class TestRuleMixin(TestOrderMixin):
self.packing_list_portal_type)
pl = pl_module.newContent(portal_type=self.packing_list_portal_type,
source_section='group/a', destination_section='group/b')
- pl.newContent(portal_type=self.packing_list_line_portal_type, id='line')
+ pl.newContent(portal_type=self.packing_list_line_portal_type, id='line',
+ quantity=1)
pl.setStartDate("2007-07-01")
transaction.commit()
self.tic()
More information about the Erp5-report
mailing list