[Erp5-report] r44212 jerome - /erp5/trunk/products/ERP5/MovementCollectionDiff.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 11 18:31:12 CET 2011


Author: jerome
Date: Fri Mar 11 18:31:12 2011
New Revision: 44212

URL: http://svn.erp5.org?rev=44212&view=rev
Log:
revert 44179. Root simulation rules needs to set delivery relation that way.
The problem of deeper rules that creates compensation movements that should not
simply copy all categories of the movement is still open.


Modified:
    erp5/trunk/products/ERP5/MovementCollectionDiff.py

Modified: erp5/trunk/products/ERP5/MovementCollectionDiff.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/MovementCollectionDiff.py?rev=44212&r1=44211&r2=44212&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/MovementCollectionDiff.py [utf8] (original)
+++ erp5/trunk/products/ERP5/MovementCollectionDiff.py [utf8] Fri Mar 11 18:31:12 2011
@@ -153,7 +153,7 @@ def _getPropertyList(document, acquire=T
                       document.getPropertyIdList()]))
 
 def _getCategoryList(document, acquire=True):
-  bad_category_list = ['solver', 'delivery',]
+  bad_category_list = ['solver', ]
   getPropertyList = document.getPropertyList
   def filter_category_func(x):
     return len(x[1]) != 0 and x[0] not in bad_category_list and \
@@ -162,3 +162,4 @@ def _getCategoryList(document, acquire=T
   return dict(filter(filter_category_func,
                      [(x, getPropertyList(x)) for x in \
                       document.getBaseCategoryList()]))
+    



More information about the Erp5-report mailing list