diff --git a/product/ERP5/Document/Movement.py b/product/ERP5/Document/Movement.py index de815e4d52baa04580e9775f74d67ada7f48a377..efebac6fd82c0572be70501e7d333b2d08e2b1b0 100755 --- a/product/ERP5/Document/Movement.py +++ b/product/ERP5/Document/Movement.py @@ -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):