Daily updates from Odoo
Saturday, October 4, 2025
14 changes
3 changes
Resolved issues and error corrections
Discount allocation settings now allow other income and other expense accounts to be selected. This prevents valid accounts from being excluded during configuration, making discount accounting setup more accurate and flexible.
Original PR description
With this PR: - Updated the domain of discount allocation fields to include `income_other`/`expense_other` account types. Task-5121917 Forward-Port-Of: odoo/odoo#229560 Forward-Port-Of: odoo/odoo#229026
The mail app no longer shows the translate action on messages that have no text, such as tracking updates or attachment-only messages. This avoids offering users an action that cannot do anything and makes message actions clearer.
Original PR description
**Current behavior before PR:** The translate action was shown on all messages, including those with an empty body such as tracking updates or messages containing only attachments. Clicking the translate action on these messages had no effect. **Desired behavior after PR is merged:** The translate action is hidden for messages with an empty body. Only messages containing text display the translate option. **Task-5106303** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#229826 Forward-Port-Of: odoo/odoo#228137
The Swiss payroll screen now hides the verified source tax statement button when there is no correction in the institution response. This prevents users from clicking an option that cannot produce a report, reducing confusion during 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
2 changes
Resolved issues and error corrections
This update adds validation coverage for Indian GSTR-1 reporting in cases involving reverse charge sales and SEZ sales with LUT. It helps ensure tax reports handle these compliance scenarios correctly and reduces the risk of incorrect filings.
Original PR description
Adding GSTR1 test case with RCM tax and SEZ (with LUT) see https://github.com/odoo/odoo/pull/213931 Forward-Port-Of: odoo/enterprise#95669 Forward-Port-Of: odoo/enterprise#87486
The Swiss payroll interface now hides the verified source tax statement button when there is no correction in the institution response. This prevents users from trying to generate a report that would not be available, reducing confusion during 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
5 changes
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
3 changes
Resolved issues and error corrections
Discount allocation settings now allow other income and other expense accounts to be selected. This fixes a limitation that could prevent businesses from using the appropriate accounts for discounts in their accounting setup.
Original PR description
With this PR: - Updated the domain of discount allocation fields to include `income_other`/`expense_other` account types. Task-5121917 Forward-Port-Of: odoo/odoo#229560 Forward-Port-Of: odoo/odoo#229026
The translate option is no longer shown on messages that have no text, such as tracking updates or attachment-only messages. This avoids offering an action that cannot do anything and makes the message interface clearer for users.
Original PR description
**Current behavior before PR:** The translate action was shown on all messages, including those with an empty body such as tracking updates or messages containing only attachments. Clicking the translate action on these messages had no effect. **Desired behavior after PR is merged:** The translate action is hidden for messages with an empty body. Only messages containing text display the translate option. **Task-5106303** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#229826 Forward-Port-Of: odoo/odoo#228137
The Swiss payroll screen now hides the verified source tax statement button when the institution response does not include a correction. This prevents users from opening a report action that would not produce a meaningful report.
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
1 change
Resolved issues and error corrections
The change updates an automated test so it uses clearly distinct products, avoiding confusion when task names are generated from product names. This helps keep the Field Service sales workflow test reliable after related sales project behavior changed.
Original PR description
The `industry_fsm_sale_products_compute_catalog_tour` was failing due to changes in task naming behavior from `sale_project`. Issue: - Updates in `sale_project` simplified task names to rely on product display_name, causing identical task names when the test reused the same product for multiple sale order lines. Fix: - Update the test setup to use three unique products with distinct names. task-4903208