Commit 9d82f66c authored by Aurel's avatar Aurel

make use of multiple base category in domains works

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13898 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 357a70ac
......@@ -1233,9 +1233,14 @@ class ListBoxRenderer:
base_category = base_category,
is_open = False, selection_domain = selection_domain,
exception_uid_list = exception_uid_list))
# manage multiple base category
if len(report_path) >= 1 and base_category != report_path[0]:
new_base_category = None
else:
new_base_category = base_category
tree_list.extend(self.makeReportTreeList(root_dict = new_root_dict,
report_path = report_path,
base_category = base_category,
base_category = new_base_category,
depth = depth + 1,
unfolded_list = unfolded_list,
is_report_opened = is_report_opened,
......
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