Tuesday, May 21, 2024
3 changes · saas-17.2
Resolved issues and error corrections
This change updates an internal setup test so it remains reliable when French localization demo data is installed first. It prevents false test failures caused by different default currencies, helping keep automated quality checks stable without changing user-facing behavior.
Original PR description
Since https://github.com/odoo/odoo/commit/67b4ec4ba431adb4090aa8629d2a556dbf8df54a, l10n_fr is installed before base_setup. The issue is that it creates a demo company that has EUR currency. While the default stays USD. As there are 2 currencies, the group multi_currency is given by default to users. The test trying to check that it's not given by default will then fail. We will have more occurences of this in the future, as more payroll modules will arrive. To solve the issue, we just test on a different group. Linked to runbot error 58147 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A mobile-only editor issue was fixed so the toolbar no longer tries to hide a link-removal option when that option is not available. This prevents unnecessary errors on small screens and keeps editing smoother for users.
Original PR description
When the unlink button is not present in the toolbar, the editor should not try to hide it. This commit fixes the issue by checking if the unlink button is present before trying to hide it. The issue only occurs on mobile (or small screens) where the toolbar is not hidden by default. opw-3865509
The salary contract form now shows yearly cost information to users who are already allowed to see it elsewhere. This removes an inconsistent restriction so staff can view the same compensation cost data in both list and form views.
Original PR description
Since you don't need the group 'hr.group_hr_manager' to access the value of the yearly cost and you have it displayed in the view list. We remove the group in the view form