[Erp5-report] r18586 - /erp5/trunk/products/ERP5Banking/Document/BankingOperation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 3 14:55:40 CET 2008


Author: aurel
Date: Thu Jan  3 14:55:39 2008
New Revision: 18586

URL: http://svn.erp5.org?rev=18586&view=rev
Log:
getDeliveryValue must be present on all document for banking

Modified:
    erp5/trunk/products/ERP5Banking/Document/BankingOperation.py

Modified: erp5/trunk/products/ERP5Banking/Document/BankingOperation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/Document/BankingOperation.py?rev=18586&r1=18585&r2=18586&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/Document/BankingOperation.py (original)
+++ erp5/trunk/products/ERP5Banking/Document/BankingOperation.py Thu Jan  3 14:55:39 2008
@@ -37,6 +37,8 @@
 from AccessControl.PermissionRole import PermissionRole
 from Products.ERP5Type.Utils import convertToMixedCase, convertToUpperCase
 from Products.ERP5Banking.BaobabMixin import BaobabMixin
+from Products.ERP5Type.Base import Base
+
 
 class BankingOperation(BaobabMixin, AccountingTransaction):
 
@@ -247,3 +249,11 @@
 
 InventoryLine.getBaobabDestinationProjectUid = lambda x: x.getDestinationProjectUid()
 InventoryLine.getBaobabDestinationProjectUid__roles__ = PermissionRole(Permissions.View)
+
+
+def getDeliveryValue(self):
+  """
+  """
+  return self
+
+Base.getDeliveryValue = getDeliveryValue




More information about the Erp5-report mailing list