[Erp5-report] r27613 - /erp5/trunk/products/ERP5/Document/TradeModelLine.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 16 16:30:16 CEST 2009
Author: luke
Date: Tue Jun 16 16:30:12 2009
New Revision: 27613
URL: http://svn.erp5.org?rev=27613&view=rev
Log:
- workaround a problem for cell creation - it have to be split into two transactions in case of setting variation
Modified:
erp5/trunk/products/ERP5/Document/TradeModelLine.py
Modified: erp5/trunk/products/ERP5/Document/TradeModelLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/TradeModelLine.py?rev=27613&r1=27612&r2=27613&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/TradeModelLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/TradeModelLine.py [utf8] Tue Jun 16 16:30:12 2009
@@ -166,7 +166,8 @@
raise ValueError("Can't find the cell corresponding to those "+\
"cells coordinates : %s" % cell_coordinates)
tmp_movement = newTempSimulationMovement(self.getPortalObject(),
- self_id,
+ self_id)
+ tmp_movement.edit(
variation_base_category_list = cell.getVariationBaseCategoryList(),
variation_category_list = cell.getVariationCategoryList(),
price = cell.getPrice(),
More information about the Erp5-report
mailing list