Commit 414efa37 authored by Jérome Perrin's avatar Jérome Perrin

accounting: use new related key name

772033ed removed
`parent_strict_group_uid` related key and added support to generate
`strict_parent_group_uid` related key
parent 264b69f4
...@@ -31,7 +31,7 @@ if organisation: ...@@ -31,7 +31,7 @@ if organisation:
while group_value.getPortalType() != 'Base Category': while group_value.getPortalType() != 'Base Category':
uid_list.append(group_value.getUid()) uid_list.append(group_value.getUid())
group_value = group_value.getParentValue() group_value = group_value.getParentValue()
search_kw['parent_strict_group_uid'] = uid_list search_kw['strict_parent_group_uid'] = uid_list
search_kw['parent_portal_type'] = 'Organisation' search_kw['parent_portal_type'] = 'Organisation'
bank_account_list = portal.portal_catalog(**search_kw) bank_account_list = portal.portal_catalog(**search_kw)
......
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