Thursday, April 4, 2024
6 changes · 17.0
Enhancements to existing features
VAT validation examples in the system can now be displayed in users' local languages instead of always appearing in English. This improvement enhances the user experience for international customers by making VAT format guidance more accessible and easier to understand in their native language.
Original PR description
Currently some VAT examples that contain other terms than only the number are always displayed in English. This commit makes sure they can be translated. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#159051 Forward-Port-Of: odoo/odoo#158629
Resolved issues and error corrections
This update fixes a display issue where the helpdesk ticket information was not showing up in the timesheet list views. Employees can now see which helpdesk ticket is associated with their timesheets in both the "My Timesheets" and "All Timesheets" views, making it easier to track time spent on specific support tickets.
Original PR description
Before this commit, the `helpdesk_ticket_id` field in `account.analytic.line` model was not defined in the list view used in `My Timesheets` menu. This commit updates the list view to correctly display the `helpdesk_ticket_id` field in `My Timesheets` and `All Timesheets`.
Code cleanup and technical improvements
The Peru localization module for Point of Sale has been simplified by removing redundant code. Since the main Point of Sale system now handles errors when editing customer information, the Peru module no longer needs to duplicate this functionality. This cleanup reduces code complexity and maintenance burden.
Original PR description
Now, point_of_sale handles errors in partner editions, so it is not required inheriting the method to add the functionality. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a testing issue in the Sales Subscription module where certain tests were failing when the Website Sales module was installed. The fix ensures that all necessary data fields are properly synchronized during tests, preventing conflicts and improving test reliability.
Original PR description
Issue: ------ Some tests of `TestSaleReport` introduced with the fix [^1], do not pass if the module `website_sale` is installed. This is due to the fact that the sale order flush does not flush all the fields of the sale order line model that are used in the tests (`price_subtotal` for example). Solution: --------- Use `flush_all` to flush the `sale.order` and `sale.order.line` models. opw-3818584 [^1]: https://github.com/odoo/enterprise/commit/f886e65ce123f06ee8a5a2f149330864bcdb3254 Forward-Port-Of: odoo/enterprise#59915
This update resolves a timing issue in the barcode inventory testing process that was causing inconsistent test results. The fix ensures that the inventory adjustment test runs reliably without unexpected failures, improving the stability of the barcode scanning system's quality assurance.
Original PR description
This commit fixes a race condition in the following test tour: `test_inventory_adjustment_dont_update_location` Runbuild error: 60324 Forward-Port-Of: odoo/enterprise#59900
The password change modal had an incorrect purple background color that made it look different from other modals in Odoo. This fix removes the unwanted styling to make the modal consistent with the rest of the application's design.
Original PR description
This commit removes an unwanted `bg-primary` class applied to the change password modal, making it weird and unconsistent regarding others modals across Odoo. ### Steps to reproduce 1. Open a database 2. Click on your avatar in the top right corner 3. Click on `Preferences` 4. Go to `Account Security` 5. Click on `Change password` The modal has a `bg-primary` class, making it look purple. | saas-16.3 | saas-16.3-fix-unconsistent-modal-design-chgo | |--------|--------| | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/7abc9d80-1570-4364-adda-a505721bfb55"> | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/128f4729-6e02-4105-b16a-efadac8c2ea8"> | Forward-Port-Of: odoo/odoo#159774 Forward-Port-Of: odoo/odoo#155334