[Erp5-report] r16814 - /erp5/trunk/products/ERP5Banking/Document/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 4 11:10:18 CEST 2007


Author: aurel
Date: Thu Oct  4 11:10:18 2007
New Revision: 16814

URL: http://svn.erp5.org?rev=16814&view=rev
Log:
on cash delivery line and cell, source payment and destination payment
are always None

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=16814&r1=16813&r2=16814&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDeliveryCell.py Thu Oct  4 11:10:18 2007
@@ -100,13 +100,13 @@
   def getBaobabSourcePayment(self, **kw):
     """
     """
-    return self.aq_parent.getBaobabSourcePayment(**kw)
+    return None
 
   security.declareProtected(Permissions.View, 'getBaobabDestinationPayment')
   def getBaobabDestinationPayment(self, **kw):
     """
     """
-    return self.aq_parent.getBaobabDestinationPayment(**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=16814&r1=16813&r2=16814&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/CashDeliveryLine.py Thu Oct  4 11:10:18 2007
@@ -106,3 +106,15 @@
     if script is not None:
       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