Commit 6cf64da8 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Rename getStopDate and getStartDate to getInventoriatedStopDate and...

Rename getStopDate and getStartDate to getInventoriatedStopDate and getInventoriatedStartDate, respectively.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1271 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 76d12f8a
......@@ -375,8 +375,8 @@ Une ligne tarifaire."""
else:
return Movement.getInventoriatedQuantity(self)
security.declareProtected(Permissions.AccessContentsInformation, 'getStartDate')
def getStartDate(self):
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStartDate')
def getInventoriatedStartDate(self):
"""
Take into account efficiency in converted target quantity
"""
......@@ -387,8 +387,8 @@ Une ligne tarifaire."""
else:
return Movement.getStartDate(self)
security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate')
def getStopDate(self):
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStopDate')
def getInventoriatedStopDate(self):
"""
Take into account efficiency in converted target quantity
"""
......@@ -529,4 +529,3 @@ Une ligne tarifaire."""
"""
result = self.DeliveryLine_zGetRelatedDestinationSection(uid=self.getUid())
return map(lambda x: x.destination_section, result)
\ No newline at end of file
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