Commit 490cb745 authored by Jérome Perrin's avatar Jérome Perrin

accounting: fix wrong variable Base_getCurrencyForSection

This was an error reported by pylint. This changes fixes the behavior, but should have been the original behavior;
parent 65d39fde
......@@ -32,7 +32,7 @@ def getCurrencyForSection(section_url):
# otherwise, lookup all groups top down until we find one currency
for subsection in section.getCategoryChildValueList(local_sort_id='int_index'):
member_list = section.getGroupRelatedValueList(portal_type='Organisation',
member_list = subsection.getGroupRelatedValueList(portal_type='Organisation',
strict_membership=True,
checked_permission='View')
for member in member_list:
......
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