[Erp5-report] r10653 - /erp5/trunk/products/ERP5/Document/SimulationMovement.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 11 13:03:13 CEST 2006


Author: alex
Date: Wed Oct 11 13:03:10 2006
New Revision: 10653

URL: http://svn.erp5.org?rev=10653&view=rev
Log:
use default value in getPrice

Modified:
    erp5/trunk/products/ERP5/Document/SimulationMovement.py

Modified: erp5/trunk/products/ERP5/Document/SimulationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SimulationMovement.py?rev=10653&r1=10652&r2=10653&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py Wed Oct 11 13:03:10 2006
@@ -120,10 +120,10 @@
   # Price should be acquired
   security.declareProtected( Permissions.AccessContentsInformation,
                              'getPrice')
-  def getPrice(self, context=None, REQUEST=None, **kw):
-    """
-    """
-    return self._baseGetPrice() # Call the price method
+  def getPrice(self, default=None, context=None, REQUEST=None, **kw):
+    """
+    """
+    return self._baseGetPrice(default) # Call the price method
 
   security.declareProtected( Permissions.AccessContentsInformation,
                              'getCausalityState')




More information about the Erp5-report mailing list