Commit 124e8d9a authored by Jérome Perrin's avatar Jérome Perrin

Remove getInventoriated[Start|Stop]Date methods that are not part of the API

parent 40261159
......@@ -68,23 +68,6 @@ class AccountingTransactionLine(DeliveryLine):
"""
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()
# Pricing in standard currency
security.declareProtected(Permissions.AccessContentsInformation, 'getPrice')
def getPrice(self, context=None):
......
......@@ -259,18 +259,6 @@ class DeliveryLine(Movement, XMLObject, XMLMatrix, ImmobilisationMovement):
"""
return Movement.getInventoriatedQuantity(self)
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStartDate')
def getInventoriatedStartDate(self):
"""
"""
return Movement.getStartDate(self)
security.declareProtected(Permissions.AccessContentsInformation, 'getInventoriatedStopDate')
def getInventoriatedStopDate(self):
"""
"""
return Movement.getStopDate(self)
# security.declarePrivate('_checkConsistency')
# def _checkConsistency(self, fixit=0, mapped_value_property_list = ('quantity', 'price')):
# """
......
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