Commit 91898f2e authored by Romain Courteaud's avatar Romain Courteaud

Correct docstring implementation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 403f72d1
...@@ -336,17 +336,23 @@ class Movement(XMLObject, Amount): ...@@ -336,17 +336,23 @@ class Movement(XMLObject, Amount):
security.declareProtected(Permissions.AccessContentsInformation, 'getExplanation') security.declareProtected(Permissions.AccessContentsInformation, 'getExplanation')
def getExplanation(self): def getExplanation(self):
# This method allows to group Delivery movements and Simulation movements in a different way """
This method allows to group Delivery movements and Simulation movements in a different way
"""
return self.getDelivery() return self.getDelivery()
security.declareProtected(Permissions.AccessContentsInformation, 'getExplanationUid') security.declareProtected(Permissions.AccessContentsInformation, 'getExplanationUid')
def getExplanationUid(self): def getExplanationUid(self):
# This method allows to group Delivery movements and Simulation movements in a different way """
This method allows to group Delivery movements and Simulation movements in a different way
"""
return self.getDeliveryUid() return self.getDeliveryUid()
security.declareProtected(Permissions.AccessContentsInformation, 'getExplanationValue') security.declareProtected(Permissions.AccessContentsInformation, 'getExplanationValue')
def getExplanationValue(self): def getExplanationValue(self):
# This method allows to group Delivery movements and Simulation movements in a different way """
This method allows to group Delivery movements and Simulation movements in a different way
"""
return self.getDeliveryValue() return self.getDeliveryValue()
# Simulation # Simulation
...@@ -608,4 +614,3 @@ class Movement(XMLObject, Amount): ...@@ -608,4 +614,3 @@ class Movement(XMLObject, Amount):
For accounting, returns the quantity converted in a default unit For accounting, returns the quantity converted in a default unit
""" """
return self.getStandardInventoriatedQuantity() return self.getStandardInventoriatedQuantity()
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