Sunday, October 5, 2025
2 changes · saas-18.4
Resolved issues and error corrections
Fixed an issue that caused an error when Italian users opened Tax Returns after switching the interface language to Italian. The Submit button is now identified reliably regardless of translation, improving access to Italian tax return workflows.
Original PR description
Steps: - Install 'l10n_it_xml_export' and switch to an Italian company - Install the Italian language - In Accouting Dashboard, configure the Tax Returns - Open the Tax Returns - Make sure you have a button 'Submit', review something if necessary - Switch the language to Italian - Traceback The xpath uses `text()` to select the element but the text in views is translated so the xpath does not work in all languages except English. We remove the check on text, `@name='action_submit'` should be enough. Ticket [link](https://www.odoo.com/odoo/project.task/5106966) opw-5106966 Forward-Port-Of: odoo/enterprise#96096
Mexican electronic invoices no longer replace a missing invoice date with the current Mexico City date when posted. This avoids mismatches between invoice and due dates and makes invoice behavior more predictable.
Original PR description
At the moment, when an invoice that uses a CFDI is posted, the invoice date (if not already existing) is set to the current date in the Mexico City timezone. This default behaviour is just weird, and even if there might have been technical reasons for it in the past, these are no longer valid. This can also cause the default invoice date to be different from the default due date, which causes unexpected behaviour in tests. We therefore remove this override. runbot-233041 Forward-Port-Of: odoo/enterprise#96303