Commit ad417cbe authored by Vincent Pelletier's avatar Vincent Pelletier

Don't prevent source/destination payment from being indexed.

They are required to generate reports without accessing objects in ZODB.


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