Daily updates from Odoo
Monday, November 18, 2024
4 changes · master
Code cleanup and technical improvements
Dutch statutory reporting features have been merged into the main Dutch reports module to simplify maintenance and reduce duplicated functionality. This keeps SBR and ICP reporting available in a more central place, making future updates easier and more consistent.
Original PR description
We added l10n_nl_reports_sbr, l10n_nl_reports_sbr_icp, l10n_nl_reports_sbr_ob_nummer and l10n_nl_reports_sbr_status_info in stable, this pr will do some cleaning by merging l10n_nl_reports_sbr, l10n_nl_reports_sbr_ob_nummer, l10n_nl_reports_sbr_status_info and l10n_nl_reports_sbr_icp into l10n_nl_reports and merging the ICP report from l10n_nl_intrastat into l10n_nl_reports as well.
- adhere to ruff styling
- l10n_nl_reports_sbr_tax_report_wizard: because global variables are discouraged and can be a source of bugs we removed the 'server_leaf_cert' variable and instead implemented the `SoapClientWrapper` class which now holds the `server_leaf_cert`
task: 3187031This update reorganizes how message threads and chatter loading are handled, making the underlying messaging code easier to maintain. For business users, the expected impact is smoother long-term reliability in recruitment-related communication areas without changing day-to-day workflows.
Original PR description
This reduces the complexity of thread_service, and encapsulate self-contained code of chatter-specific code of thread and message list loading. https://github.com/odoo/odoo/pull/121090
This draft updates how messaging-related data is organized behind the scenes so it can be stored and found more consistently. The change supports future cleanup and maintenance work, with little expected direct impact on day-to-day users.
Original PR description
https://github.com/odoo/odoo/pull/130602
This change updates several Enterprise modules to align with a behind-the-scenes restructuring of Odoo's messaging framework. It helps keep accounting, approvals, and documents features compatible with the latest internal architecture without changing the user-facing workflow.
Original PR description
https://github.com/odoo/odoo/pull/132442 Adapt enterprise code with moving `insert()` method in the discuss model class, rather than a service coupled with the model.