Commit 14d07ef5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use state list for the portal type instead of portal's global state list....

use state list for the portal type instead of portal's global state list. ERP5Type >= r35858 is required.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35859 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9af77ffa
......@@ -707,7 +707,7 @@ class Delivery(XMLObject, ImmobilisationDelivery, CompositionMixin):
# 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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment