[Erp5-report] r44179 jerome - /erp5/trunk/products/ERP5/MovementCollectionDiff.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 11 14:42:12 CET 2011
Author: jerome
Date: Fri Mar 11 14:42:12 2011
New Revision: 44179
URL: http://svn.erp5.org?rev=44179&view=rev
Log:
When we create a new movement from a collection diff, we should obsiouly not
copy 'delivery' category, otherwise the new simulation movement will be linked
to the real movement ...
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=44179&r1=44178&r2=44179&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/MovementCollectionDiff.py [utf8] (original)
+++ erp5/trunk/products/ERP5/MovementCollectionDiff.py [utf8] Fri Mar 11 14:42:12 2011
@@ -153,7 +153,7 @@ def _getPropertyList(document, acquire=T
document.getPropertyIdList()]))
def _getCategoryList(document, acquire=True):
- bad_category_list = ['solver',]
+ bad_category_list = ['solver', 'delivery',]
getPropertyList = document.getPropertyList
def filter_category_func(x):
return len(x[1]) != 0 and x[0] not in bad_category_list and \
More information about the Erp5-report
mailing list