Commit 975cd121 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added getDeliveryUid


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54f3c150
......@@ -130,4 +130,12 @@ une liste de mouvements..."""
wf = portal_workflow.getWorkflowById('delivery_workflow')
return wf._getWorkflowStateOf(self, id_only=id_only )
# This should be put in a mix in or at least Delivery should become base class for inventory
security.declareProtected(Permissions.AccessContentsInformation, 'getDeliveryUid')
def getDeliveryUid(self):
return self.getUid()
security.declareProtected(Permissions.AccessContentsInformation, 'getDeliveryValue')
def getDeliveryValue(self):
return self
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