Friday, June 13, 2025
3 changes · saas-18.2
Resolved issues and error corrections
The Point of Sale now avoids unnecessary local data writes and better handles missing values during data checks. This reduces the chance of background errors and improves reliability without changing how users work.
Original PR description
Prevent sending empty array to indexedDB to avoid useless writes and potential errors. Check variable before calling a the `isEquals` method on it to avoid TypeError when the variable is undefined.
**Description** The label **"Identification Number"**, displayed in the website checkout form, was not being translated despite being properly marked with `_()` in `portal.py`. --- **Why the fix** - When the translatable term was introduced the `.pot` file wasn't updated. By exporting the `.pot` file from the db we are able to update it to make it translatable --- **Steps to Reproduce** 1. Install the `l10n_latam` module. 2. Create an Argentinian company. 3. Create a new websi
Original PR description
**Description** The label **"Identification Number"**, displayed in the website checkout form, was not being translated despite being properly marked with `_()` in `portal.py`. --- **Why the fix** -…
**Description** The label **"Identification Number"**, displayed in the website checkout form, was not being translated despite being properly marked with `_()` in `portal.py`. --- **Why the fix** - When the translatable term was introduced the `.pot` file wasn't updated. By exporting the `.pot` file from the db we are able to update it to make it translatable --- **Steps to Reproduce** 1. Install the `l10n_latam` module. 2. Create an Argentinian company. 3. Create a new website , add spanish to its languages and assign it to the Argentinian company. 4. Switch the current user’s **default company** to the Argentinian one. 6. Go to Inventory → Create and publish a new product. 7. On the website: - Add the product to the cart. - Proceed to checkout. 8. Observe that the **"Identification Number"** field in the address form remains untranslated. --- **Before** - The "Identification Number" label appeared only in English and could not be translated. --- **After** - It shows up in the translation interface and can be translated into Spanish. --- Ticket ID: opw-4814341
The Italian XML tax export now handles missing report setup information safely instead of crashing during automated checks or generic record creation. This improves reliability without changing normal user workflows.
Original PR description
The `_compute_show_method` relied on the context key `l10n_it_xml_export_monthly_tax_report_options` that may not be present during generic field tests (e.g. `model.new()`). This caused a Runbot failure in `test_computed_fields_without_dependencies`. This fix ensures the compute method exits safely if the required context is missing. [runbot-162081](https://runbot.odoo.com/odoo/error/162081)