Commit 288b5520 authored by Jérome Perrin's avatar Jérome Perrin

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 ...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44179 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc212706
......@@ -153,7 +153,7 @@ def _getPropertyList(document, acquire=True):
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 \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment