Commit c1c3b0cb authored by Sebastien Robin's avatar Sebastien Robin

added a method until movement_group will be rewritten


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6131 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67b915dd
......@@ -621,7 +621,7 @@ class Delivery(XMLObject, ImmobilisationDelivery):
security.declareProtected( Permissions.AccessContentsInformation,
'getInitialCausalityValueList')
'getRootCausalityValueList')
def getRootCausalityValueList(self):
"""
Returns the initial causality value for this movement.
......@@ -651,7 +651,27 @@ class Delivery(XMLObject, ImmobilisationDelivery):
'setRootCausalityValueList')
def setRootCausalityValueList(self,value):
"""
This
This is a hack
"""
pass
security.declareProtected( Permissions.AccessContentsInformation,
'getParentExplanationValue')
def getParentExplanationValue(self):
"""
This method should be removed as soon as movement groups
will be rewritten. It is a temp hack
"""
return self
# XXX Temp hack, should be removed has soon as the structure of
# the order/delivery builder will be reviewed. It might
# be reviewed if we plan to configure movement groups in the zmi
security.declareProtected( Permissions.ModifyPortalContent,
'setParentExplanationValue')
def setParentExplanationValue(self,value):
"""
This is a hack
"""
pass
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