Commit 605d6235 authored by Yoshinori Okuji's avatar Yoshinori Okuji

by seb: call getPortalDraftOrderStateList instead of etPortalDraftOrderState


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 046404b7
...@@ -251,6 +251,6 @@ An ERP5 Rule...""" ...@@ -251,6 +251,6 @@ An ERP5 Rule..."""
return 1 return 1
def isDeliverable(self, m): def isDeliverable(self, m):
if m.getSimulationState() in m.getPortalDraftOrderState(): if m.getSimulationState() in m.getPortalDraftOrderStateList():
return 0 return 0
return 1 return 1
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