Commit 6db6a95d authored by Sebastien Robin's avatar Sebastien Robin

added method getParentExplanationValue


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6132 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c1c3b0cb
......@@ -875,6 +875,16 @@ class Movement(XMLObject, Amount):
return_list.extend(variation_list)
return "\n".join(return_list)
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.getParentValue().getExplanationValue()
# SKU vs. CU
# security.declareProtected(Permissions.AccessContentsInformation, 'getSourceStandardInventoriatedQuantity')
# def getSourceStandardInventoriatedQuantity(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