From 41be38fa3349ea886d5bb88ffb299288749e83cf Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 4 Feb 2005 09:01:20 +0000 Subject: [PATCH] Do not pass self. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2404 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/DeliveryCell.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5/Document/DeliveryCell.py b/product/ERP5/Document/DeliveryCell.py index 1874d8a705..e858866e65 100755 --- a/product/ERP5/Document/DeliveryCell.py +++ b/product/ERP5/Document/DeliveryCell.py @@ -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): -- 2.30.9