diff --git a/product/ERP5Banking/Document/CashDeliveryCell.py b/product/ERP5Banking/Document/CashDeliveryCell.py index 2f7378ae35bc2d737cf67d0dffbbd527e8a5ef9d..af717170be4ee58d82da00510d4726e6883bd8fc 100755 --- a/product/ERP5Banking/Document/CashDeliveryCell.py +++ b/product/ERP5Banking/Document/CashDeliveryCell.py @@ -69,12 +69,18 @@ class CashDeliveryCell(BaobabMixin, DeliveryCell): def getBaobabSource(self, **kw): """ """ + script = self._getTypeBasedMethod('getBaobabSource') + if script is not None: + return script(self) return self.aq_parent.getBaobabSource(**kw) security.declareProtected(Permissions.View, 'getBaobabDestination') def getBaobabDestination(self, **kw): """ """ + script = self._getTypeBasedMethod('getBaobabDestination') + if script is not None: + return script(self) return self.aq_parent.getBaobabDestination(**kw) security.declareProtected(Permissions.View, 'getBaobabSourceSection')