[Erp5-report] r20398 - /erp5/trunk/products/ERP5/Document/OrderRule.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 9 17:52:32 CEST 2008


Author: jerome
Date: Wed Apr  9 17:52:31 2008
New Revision: 20398

URL: http://svn.erp5.org?rev=20398&view=rev
Log:
remove spaces at end of line and fix a typo


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

Modified: erp5/trunk/products/ERP5/Document/OrderRule.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/OrderRule.py?rev=20398&r1=20397&r2=20398&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/OrderRule.py (original)
+++ erp5/trunk/products/ERP5/Document/OrderRule.py Wed Apr  9 17:52:31 2008
@@ -35,7 +35,7 @@
 
 class OrderRule(DeliveryRule):
   """
-  Order Rule object make sure an Order in the similation
+  Order Rule object make sure an Order in the simulation
   is consistent with the real order
 
   WARNING: what to do with movement split ?
@@ -109,7 +109,8 @@
         related_order = order_movement_dict.get(movement.getPath(), None)
         if related_order is None:
           related_order = movement.getOrderRelatedValue()
-        property_dict = self._getExpandablePropertyDict(applied_rule, movement)      
+        property_dict = self._getExpandablePropertyDict(
+                                            applied_rule, movement)
         if related_order is None:
           # Generate a simulation movement
           # Do not try to create meaningfull IDs, as order movement can be
@@ -172,22 +173,23 @@
 #                                 "Hardcoded properties set")
       default_property_list = (
         'source',
-        'source_section', 
-        'destination', 
-        'destination_section', 
-        'start_date', 
+        'source_section',
+        'destination',
+        'destination_section',
+        'start_date',
         'stop_date',
-        'resource', 
+        'resource',
         'variation_category_list',
-        'variation_property_dict', 
-        'aggregate_list', 
-        'price', 
+        'variation_property_dict',
+        'aggregate_list',
+        'price',
         'price_currency',
-        'quantity', 
-        'quantity_unit', 
+        'quantity',
+        'quantity_unit',
       )
   
       for prop in default_property_list:
          property_dict[prop] = movement.getProperty(prop)
        
     return property_dict
+




More information about the Erp5-report mailing list