Commit dfaad57b authored by Jérome Perrin's avatar Jérome Perrin

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.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44212 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d4722b7b
......@@ -153,7 +153,7 @@ def _getPropertyList(document, acquire=True):
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=True):
return dict(filter(filter_category_func,
[(x, getPropertyList(x)) for x in \
document.getBaseCategoryList()]))
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