Commit 11ba0fb1 authored by Jérome Perrin's avatar Jérome Perrin

There's no reason for packing lists to have a different implementation of 'isDivergent'


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44313 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dbb37b70
......@@ -80,17 +80,6 @@ class PackingList(Delivery):
, PropertySheet.Order
)
security.declareProtected(Permissions.AccessContentsInformation,
'isDivergent')
def isDivergent(self,**kw):
"""
Returns 1 if not simulated or inconsistent target and values
"""
if self.getSimulationState() not in self.getPortalDraftOrderStateList():
if not self.isSimulated():
return 1
return Delivery.isDivergent(self, **kw)
#######################################################
# Container computation
security.declareProtected(Permissions.AccessContentsInformation,
......
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