Commit 663828d3 authored by Aurel's avatar Aurel

don't acquire getBaobaSource/DestinationVariationText from line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7396 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 908b233c
......@@ -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()
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