Sunday, December 28, 2025
3 changes
1 change
Resolved issues and error corrections
This update fixes a vulnerability in the Point of Sale testing process. Previously, tests relied on translated button labels, making them susceptible to issues when translations changed. The fix ensures tests use the default language, improving stability and reducing the risk of test failures.
Original PR description
In the tour added in this commit[^1], they switched the language to French to test `,` as a decimal separator. The test depends on a button label to click that was translated to French. This is pretty brittle since translations can change, and also not necessary for what we need to test. We just change the decimal separator on the current language in the test so the label can keep the source language. This is also done in other places in the tours. (Issue found when translating saas-19.1) [^1]: https://github.com/odoo/odoo/commit/c712835cf7fc364a50ad9797f933df148720e829 Forward-Port-Of: odoo/odoo#241485
1 change
Resolved issues and error corrections
This update fixes a vulnerability in the Point of Sale testing process. Previously, tests relied on translated button labels, making them susceptible to issues when translations changed. The fix ensures tests use the default language's decimal separator, improving test stability and reducing the risk of failures.
Original PR description
In the tour added in this commit[^1], they switched the language to French to test `,` as a decimal separator. The test depends on a button label to click that was translated to French. This is pretty brittle since translations can change, and also not necessary for what we need to test. We just change the decimal separator on the current language in the test so the label can keep the source language. This is also done in other places in the tours. (Issue found when translating saas-19.1) [^1]: https://github.com/odoo/odoo/commit/c712835cf7fc364a50ad9797f933df148720e829 Forward-Port-Of: odoo/odoo#241485
1 change
Resolved issues and error corrections
This update fixes a technical issue where unused sign item roles were accumulating in the database, causing performance problems. A simple workaround – creating a dummy sign item – has been implemented to trigger database cleanup, ensuring data remains organized and efficient. This improves the overall stability of the sign management feature.
Original PR description
Fixes an issue where sign item roles were created but never deleted if they had no sign items linked to them. These orphaned roles were no longer shown in the app and remained in the database indefinitely. To address this, a dummy sign item is now created for each new sign item role. This allows the autovacuum logic to detect and automatically clean up unused roles and dummy items. Without this dummy item, it would be impossible to determine if a role is truly orphaned. task-4971485 Forward-Port-Of: odoo/enterprise#102957 Forward-Port-Of: odoo/enterprise#91189