Commit 64ec4b8e authored by Jérome Perrin's avatar Jérome Perrin

accounting: only offer groups where user is affected in preference

It prevents users from selecting something which will be refused in
reports. Since this also effects transaction tab, we should not let
users select something they cannot see to prevent unauthorized errors
when they display transaction tabs with a preference on a group they
cannot see.
parent 90c5a373
Pipeline #9648 failed with stage
in 0 seconds
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:here.Base_getPreferredCategoryChildItemList(here.portal_categories.group, base=True)</string> </value> <value> <string>context/Base_getDialogSectionCategoryItemList</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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