Commit 76d12f8a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add getInventoriatedStopDate and getInventoriatedStartDate.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1270 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d08e2625
...@@ -251,3 +251,18 @@ Une ligne tarifaire.""" ...@@ -251,3 +251,18 @@ Une ligne tarifaire."""
Redefine this method here, because AccountingTransactionLine does not have target values. Redefine this method here, because AccountingTransactionLine does not have target values.
""" """
return Amount.getInventoriatedQuantity(self) return Amount.getInventoriatedQuantity(self)
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStartDate')
def getInventoriatedStartDate(self):
"""
Get the start date.
"""
return self.getStartDate()
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStopDate')
def getInventoriatedStopDate(self):
"""
Get the stop date.
"""
return self.getStopDate()
\ 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