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

BusinessPath now implements IArrowBase, so use new method names (follow up to r28727)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28748 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c36f23f
......@@ -54,7 +54,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>category_list = []\n
for base_category in context.getDestinationBaseCategoryList():\n
for base_category in context.getDestinationArrowBaseCategoryList():\n
category = movement.getDefaultAcquiredCategoryMembership(base_category, base=1)\n
if category:\n
category_list.append(category)\n
......
......@@ -54,7 +54,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>category_list = []\n
for base_category in context.getSourceBaseCategoryList():\n
for base_category in context.getSourceArrowBaseCategoryList():\n
category = movement.getDefaultAcquiredCategoryMembership(base_category, base=1)\n
if category:\n
category_list.append(category)\n
......
726
\ No newline at end of file
727
\ No newline at end of file
......@@ -549,8 +549,8 @@ class Rule(Predicate, XMLObject):
# Arrow
for base_category in \
business_path.getSourceBaseCategoryList() +\
business_path.getDestinationBaseCategoryList():
business_path.getSourceArrowBaseCategoryList() +\
business_path.getDestinationArrowBaseCategoryList():
# XXX: we need to use _list for categories *always*
category_url = business_path.getDefaultAcquiredCategoryMembership(
base_category, context=movement)
......
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