[Erp5-report] r17270 - /erp5/trunk/products/ERP5/Document/Movement.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 30 01:51:38 CET 2007


Author: yo
Date: Tue Oct 30 01:51:38 2007
New Revision: 17270

URL: http://svn.erp5.org?rev=17270&view=rev
Log:
Do not store price automatically. This will be done by an interaction workflow.

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

Modified: erp5/trunk/products/ERP5/Document/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Movement.py?rev=17270&r1=17269&r2=17270&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Movement.py (original)
+++ erp5/trunk/products/ERP5/Document/Movement.py Tue Oct 30 01:51:38 2007
@@ -276,9 +276,6 @@
     if local_price is None:
       # We must find a price for this movement
       local_price = self._getPrice(context=self)
-      # And store it localy
-      if local_price is not None:
-        self.setPrice(local_price)
     return local_price
 
   security.declareProtected( Permissions.AccessContentsInformation,




More information about the Erp5-report mailing list