Daily updates from Odoo
Saturday, October 4, 2025
5 changes · master
Resolved issues and error corrections
Corrected how return reporting options are matched when reports include sections, preventing the wrong period settings from being applied. This helps ensure accounting return reports display accurate options for businesses using sectioned reports.
Original PR description
The _init_options_return_periodicity would compare the report_id with self.id, which would lead to bugs in the case of reports with sections since in those cases it's the section id that's taken into account. Added that check. Also backported https://github.com/odoo/enterprise/pull/93187 's fix. Forward-Port-Of: odoo/enterprise#96196 Forward-Port-Of: odoo/enterprise#96115
This fix keeps Mexican e-invoicing weight information consistent after official stamping by making the extra weight field read-only when it should no longer be changed. It also hides duplicate product weight fields when variants are involved, reducing customer confusion in product setup screens.
Original PR description
In refactor for l10n_mx_edi_stock, l10n_mx_edi_extra_weight was added to handle the weight of the driver and luggage. However, the condition to prevent the field from being edited once it has been stamped was not added, which could cause confusion if it could be edited later and a value different from that of the CFDI could be seen. The condition to make it readonly has been added, like the rest of the location fields in stock.picking. In addition to this, when testing the flow, we also detected a conflict with Odoo Standard in the l10n_mx_edi_extended module. This module added the weight field again, now on the product accounting page. The standard weight field had a condition to make it invisible if the product had variants, but this one did not, which could cause confusion for customers, so these conditions were also added. I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#95973
This update adjusts internal tests so they no longer depend on demo data or default user group settings. It helps keep automated checks stable and consistent across installations without changing day-to-day product behavior.
Original PR description
The community counter part makes the tests independent from `env['res.users']._default_groups()`. `helpdesk.group_helpdesk_manager` is the only group that is given to `base.default_user_group` in the master data (is that normal?), so we need to give it explicitly in the tests since we don't rely on the default user groups anymore in tests Forward-Port-Of: odoo/enterprise#96164 Forward-Port-Of: odoo/enterprise#92410
This fixes an issue where report annotations could be lost when multiple annotation loads happened at the same time. It also adjusts the walkthrough flow to open balances from the main working files view, making the audit guidance more reliable for users.
Original PR description
yet again ...  It was possible for multiples loadAnnotations to be present at the same time, losing the annotations from all except one of them. o_embedded_actions wasn't acting perfectly, and we will probably change it in the future so we are just going back to the main working files kanban view and opening the balances from there Linked Runbot Errors: - https://runbot.odoo.com/odoo/runbot.build.error/231762 - https://runbot.odoo.com/odoo/runbot.build.error/232575 - https://runbot.odoo.com/odoo/runbot.build.error/232554 Forward-Port-Of: odoo/enterprise#95546
The payroll interface now hides the verified source tax statement button when the institution response does not include a correction. This prevents users from clicking a button that would not produce a report, reducing confusion in Swiss payroll processing.
Original PR description
This button will give a report only in the case where the institution response has a correction, so it should be hidden. Forward-Port-Of: odoo/enterprise#96128