Commit bcbf71e8 authored by Jérome Perrin's avatar Jérome Perrin Committed by Rafael Monnerat

accounting: fix grouping option of GL when running in deferred mode

This omit_grouping_reference key was not set as selection parameters, so
Node_getAccountingTransactionList could not find it in selection when running
in deferred mode.

In non deferred mode, it was working, because selection is set with values from
request and it was same request, but deferred style uses activities, so it's
different requests.
parent e231b013
Pipeline #14646 canceled with stage
in 0 seconds
......@@ -101,7 +101,7 @@ if request.get('omit_grouping_reference', False):
params['grouping_query'] = portal.ERP5Site_getNotGroupedAtDateSQLQuery(at_date)
else:
params['grouping_reference'] = None
default_selection_params['omit_grouping_reference'] = True
analytic_column_list = ()
if hide_analytic:
......
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