From 663828d3d908890a26690062ec20456d6bb4adb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Mon, 22 May 2006 12:43:55 +0000
Subject: [PATCH] don't acquire getBaobaSource/DestinationVariationText from
 line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7396 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Banking/Document/CashDeliveryCell.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Banking/Document/CashDeliveryCell.py b/product/ERP5Banking/Document/CashDeliveryCell.py
index 6187f6f758..2356108b32 100755
--- a/product/ERP5Banking/Document/CashDeliveryCell.py
+++ b/product/ERP5Banking/Document/CashDeliveryCell.py
@@ -138,7 +138,7 @@ class CashDeliveryCell(BaobabMixin, DeliveryCell):
     script = self._getTypeBasedMethod('getBaobabSourceVariationText')
     if script is not None:
       return script(self)      
-    return self.aq_parent.getBaobabSourceVariationText(**kw)
+    return self.getVariationText()
 
   security.declareProtected(Permissions.View, 'getBaobabDestinationVariationText')
   def getBaobabDestinationVariationText(self, **kw):
@@ -147,4 +147,4 @@ class CashDeliveryCell(BaobabMixin, DeliveryCell):
     script = self._getTypeBasedMethod('getBaobabDestinationVariationText')
     if script is not None:
       return script(self)      
-    return self.aq_parent.getBaobabDestinationVariationText(**kw)
+    return self.getVariationText()
-- 
2.30.9