Thursday, June 11, 2026
4 changes · master
Features or functions removed from Odoo
This update removes a redundant post-initialization hook related to returns generation. This hook was found to be ineffective since a previous change, streamlining the process and improving the performance of the account reporting module. This change ensures resources aren't being used unnecessarily.
Original PR description
the post init hook for returns generation has been useless since this commit: https://github.com/odoo/enterprise/commit/1eebff726e132c11cc5ab0a0284da9bc1ec3272a
This update removes outdated code from the account reports module, streamlining the system's functionality. The change was made because a recent update standardized how custom engines are called, rendering the previous function unnecessary. This improves the overall efficiency and maintainability of the account reporting system.
Original PR description
This function isn't called anymore. Since https://github.com/odoo/enterprise/commit/17947739675d6b0880ee5f5d428b91ec7ec8e3b2, custom engines are called like standard engines ; directly from _compute_formula_batch.
This update simplifies the Pakistan localization by removing the outdated `l10n_pk_reports` module. The Pakistan localization now utilizes the standard chart of accounts for financial reporting, eliminating the need for separate Balance Sheet and Profit & Loss reports.
Original PR description
The Pakistan localization now relies on the chart of accounts structure for financial statement reporting. Since the Balance Sheet and Profit & Loss reports are no longer needed, this commit removes the now-obsolete `l10n_pk_reports` module. see https://github.com/odoo/odoo/pull/266622 see https://github.com/odoo/upgrade/pull/10340 task-5361488
This update removes a redundant function used to manage export options within several Odoo reporting modules. This simplification improves code maintainability and reduces potential complexity. The change ensures a cleaner and more efficient system for generating reports.
Original PR description
To keep the code as clean as possible, avoid using a function called _get_export_options() that simply puts the export_mode parameter. task-6190808