diff --git a/product/ERP5Banking/Document/CashDeliveryCell.py b/product/ERP5Banking/Document/CashDeliveryCell.py index 55ed2a46df982a19bcb15ea5e3082c22922522d2..bc272e3afc909ed79d84fd2fb084f55bb8d9c544 100755 --- a/product/ERP5Banking/Document/CashDeliveryCell.py +++ b/product/ERP5Banking/Document/CashDeliveryCell.py @@ -95,18 +95,6 @@ class CashDeliveryCell(BaobabMixin, DeliveryCell): """ return self.aq_parent.getBaobabDestinationSection(**kw) - security.declareProtected(Permissions.View, 'getBaobabSourcePayment') - def getBaobabSourcePayment(self, **kw): - """ - """ - return None - - security.declareProtected(Permissions.View, 'getBaobabDestinationPayment') - def getBaobabDestinationPayment(self, **kw): - """ - """ - return None - security.declareProtected(Permissions.View, 'getBaobabSourceFunction') def getBaobabSourceFunction(self, **kw): """ diff --git a/product/ERP5Banking/Document/CashDeliveryLine.py b/product/ERP5Banking/Document/CashDeliveryLine.py index d73b0520dda57d96bd20f325b912b1991a1a41e1..ac17f6db10819ce4d8720cd633a567fbe614a8ee 100755 --- a/product/ERP5Banking/Document/CashDeliveryLine.py +++ b/product/ERP5Banking/Document/CashDeliveryLine.py @@ -106,14 +106,3 @@ class CashDeliveryLine(BaobabMixin, DeliveryLine): return script(self) return self.getVariationText() - security.declareProtected(Permissions.View, 'getBaobabSourcePayment') - def getBaobabSourcePayment(self, **kw): - """ - """ - return None - - security.declareProtected(Permissions.View, 'getBaobabDestinationPayment') - def getBaobabDestinationPayment(self, **kw): - """ - """ - return None