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.
4 jobs for <span class="ref-name">feat/dialog_section_category</span> in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

00:54:23

passed ERP5.PerformanceTest-TestRunner1

00:33:08

failed ERP5.UnitTest-TestRunner1

02:08:17

canceled ERP5.UnitTest-TestRunner1

01:40:30