diff --git a/product/ERP5Banking/Document/CashDeliveryCell.py b/product/ERP5Banking/Document/CashDeliveryCell.py index 6187f6f7587aeadb6287fe87ed5f0785faad7f2a..2356108b32a26211395c737a3446937cf263b95b 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()