[Erp5-report] r40233 vincent - /erp5/trunk/products/ERP5Banking/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 12 14:12:30 CET 2010
Author: vincent
Date: Fri Nov 12 14:12:30 2010
New Revision: 40233
URL: http://svn.erp5.org?rev=40233&view=rev
Log:
Don't prevent source/destination payment from being indexed.
They are required to generate reports without accessing objects in ZODB.
Modified:
erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py
erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py
Modified: erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py?rev=40233&r1=40232&r2=40233&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py [utf8] Fri Nov 12 14:12:30 2010
@@ -95,18 +95,6 @@ class CashDeliveryCell(BaobabMixin, Deli
"""
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):
"""
Modified: erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py?rev=40233&r1=40232&r2=40233&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py [utf8] Fri Nov 12 14:12:30 2010
@@ -106,14 +106,3 @@ class CashDeliveryLine(BaobabMixin, Deli
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
More information about the Erp5-report
mailing list