Daily updates from Odoo
Tuesday, June 7, 2022
1 change
Resolved issues and error corrections
The journal audit report now handles report options more safely when opening, especially when options come from another report or include journal groups. This reduces the chance of errors and helps users access the report consistently.
Original PR description
When opening the report, we are checking if any journal has been specifically selected to unfold it. But as we can't be completely sure of what is in the options given to the report, as they can be from another report, there can be some issue in specific cases (for example, journal groups in the journal options). Thus, replace the condition with a get to better handle use cases where the selected key could not be in every line of the journal options.