Commit 41be38fa authored by Yoshinori Okuji's avatar Yoshinori Okuji

Do not pass self.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2404 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e61ac8c
...@@ -329,9 +329,9 @@ Une ligne tarifaire.""" ...@@ -329,9 +329,9 @@ Une ligne tarifaire."""
if self.getSimulationState() in self.getPortalCurrentInventoryStateList(): if self.getSimulationState() in self.getPortalCurrentInventoryStateList():
# When an order is delivered, the target quantity should be considered # When an order is delivered, the target quantity should be considered
# rather than the quantity # rather than the quantity
return self._baseGetTargetStartDate(self) return self._baseGetTargetStartDate()
else: else:
return self._baseGetStartDate(self) return self._baseGetStartDate()
security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate') security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate')
def getStopDate(self): def getStopDate(self):
...@@ -341,9 +341,9 @@ Une ligne tarifaire.""" ...@@ -341,9 +341,9 @@ Une ligne tarifaire."""
if self.getSimulationState() in self.getPortalCurrentInventoryStateList(): if self.getSimulationState() in self.getPortalCurrentInventoryStateList():
# When an order is delivered, the target quantity should be considered # When an order is delivered, the target quantity should be considered
# rather than the quantity # rather than the quantity
return self._baseGetTargetStopDate(self) return self._baseGetTargetStopDate()
else: else:
return self._baseGetStopDate(self) return self._baseGetStopDate()
security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate') security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate')
def getRootDeliveryValue(self): def getRootDeliveryValue(self):
......
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