Daily updates from Odoo
Tuesday, September 20, 2022
1 change · master
Code cleanup and technical improvements
This change restructures how analytic accounting information is handled across accounting features. The standalone analytic report is removed, while financial reports now use analytic groupings to show additional columns, helping users compare results by analytic account or plan more directly.
Original PR description
The rationale behind the the analytic tags and accounts changes can be found in the community commit. There are also changes to the reports: The analytic report has been removed. The analytic filter on financial reports (balance sheet and profit loss report) has been removed, to be replaced by an analytic groupby filter, that will create additional columns on the financial report, based on the analytic lines linked to the financial account of the line and the analytic account (or plan) of the column. To do so, we use a temporary table that will be computed and filled once, with the values of the analytic lines, to shadow the table of account move lines. This lets us use all the engine defined for account move lines. On all reports, not financial ones, that had an analytic filter will keep the old one.