[Erp5-report] r7636 - /erp5/trunk/products/ERP5Banking/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jun 7 12:45:27 CEST 2006
Author: seb
Date: Wed Jun 7 12:45:25 2006
New Revision: 7636
URL: http://svn.erp5.org?rev=7636&view=rev
Log:
kw was missing in parameters
Modified:
erp5/trunk/products/ERP5Banking/Document/CashDelivery.py
erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py
Modified: erp5/trunk/products/ERP5Banking/Document/CashDelivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/CashDelivery.py?rev=7636&r1=7635&r2=7636&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDelivery.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDelivery.py Wed Jun 7 12:45:25 2006
@@ -61,21 +61,21 @@
)
security.declareProtected(Permissions.View, 'getBaobabSource')
- def getBaobabSource(self):
+ def getBaobabSource(self,**kw):
"""
Returns a calculated source
"""
script = self._getTypeBasedMethod('getBaobabSource')
if script is not None:
- return script(self)
- return self.getSource()
+ return script(self,**kw)
+ return self.getSource(**kw)
security.declareProtected(Permissions.View, 'getBaobabDestination')
- def getBaobabDestination(self):
+ def getBaobabDestination(self,**kw):
"""
Returns a calculated destination
"""
script = self._getTypeBasedMethod('getBaobabDestination')
if script is not None:
- return script(self)
- return self.getDestination()
+ return script(self,**kw)
+ return self.getDestination(**kw)
Modified: erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py?rev=7636&r1=7635&r2=7636&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py Wed Jun 7 12:45:25 2006
@@ -74,7 +74,7 @@
"""
script = self._getTypeBasedMethod('getBaobabSource')
if script is not None:
- return script(self)
+ return script(self,**kw)
return self.aq_parent.getBaobabSource(**kw)
security.declareProtected(Permissions.View, 'getBaobabDestination')
@@ -84,7 +84,7 @@
"""
script = self._getTypeBasedMethod('getBaobabDestination')
if script is not None:
- return script(self)
+ return script(self,**kw)
return self.aq_parent.getBaobabDestination(**kw)
security.declareProtected(Permissions.View, 'getBaobabSourceVariationText')
More information about the Erp5-report
mailing list