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."""
if self.getSimulationState() in self.getPortalCurrentInventoryStateList():
# When an order is delivered, the target quantity should be considered
# rather than the quantity
return self._baseGetTargetStartDate(self)
return self._baseGetTargetStartDate()
else:
return self._baseGetStartDate(self)
return self._baseGetStartDate()
security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate')
def getStopDate(self):
......@@ -341,9 +341,9 @@ Une ligne tarifaire."""
if self.getSimulationState() in self.getPortalCurrentInventoryStateList():
# When an order is delivered, the target quantity should be considered
# rather than the quantity
return self._baseGetTargetStopDate(self)
return self._baseGetTargetStopDate()
else:
return self._baseGetStopDate(self)
return self._baseGetStopDate()
security.declareProtected(Permissions.AccessContentsInformation, 'getStopDate')
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