[Erp5-report] r35859 kazuhiko - /erp5/trunk/products/ERP5/Document/Delivery.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 1 13:48:56 CEST 2010
Author: kazuhiko
Date: Tue Jun 1 13:48:54 2010
New Revision: 35859
URL: http://svn.erp5.org?rev=35859&view=rev
Log:
use state list for the portal type instead of portal's global state list. ERP5Type >= r35858 is required.
Modified:
erp5/trunk/products/ERP5/Document/Delivery.py
Modified: erp5/trunk/products/ERP5/Document/Delivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Delivery.py?rev=35859&r1=35858&r2=35859&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Delivery.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Delivery.py [utf8] Tue Jun 1 13:48:54 2010
@@ -707,7 +707,7 @@
# only expand if we are not in a "too early" or "too late" state
if (self.getSimulationState() in
- self.getPortalDraftOrderStateList()):
+ self.getGroupedStateList('draft_order')):
return
portal_rules = getToolByName(self, 'portal_rules')
More information about the Erp5-report
mailing list