[Erp5-report] r35309 yo - /erp5/trunk/products/ERP5/Document/SimulationMovement.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 14 05:31:57 CEST 2010
Author: yo
Date: Fri May 14 05:31:57 2010
New Revision: 35309
URL: http://svn.erp5.org?rev=35309&view=rev
Log:
Orders are now bound with the delivery base category, so we must add the order types for the set of accpetable portal types.
Modified:
erp5/trunk/products/ERP5/Document/SimulationMovement.py
Modified: erp5/trunk/products/ERP5/Document/SimulationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SimulationMovement.py?rev=35309&r1=35308&r2=35309&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] Fri May 14 05:31:57 2010
@@ -299,7 +299,8 @@
else:
explanation_value = delivery_value
portal = self.getPortalObject()
- delivery_type_list = self.getPortalDeliveryTypeList()
+ delivery_type_list = self.getPortalDeliveryTypeList() \
+ + self.getPortalOrderTypeList()
while explanation_value.getPortalType() not in delivery_type_list and \
explanation_value != portal:
explanation_value = explanation_value.getParentValue()
More information about the Erp5-report
mailing list