Daily updates from Odoo
Tuesday, July 12, 2022
3 changes · master
Resolved issues and error corrections
This change adds a missing configuration field needed by the French payroll module. It prevents installation failures in automated single-module builds, helping ensure the module can be deployed reliably.
Original PR description
The field `country_code` was not found in the view, hence it prevented the module from being installed in the single module build on the runbot.
This fixes an internal payroll accounting test so it matches the updated leave form behavior. The change helps keep Belgian payroll accounting checks reliable after the leave days field was made read-only.
Original PR description
As part of https://github.com/odoo/odoo/pull/95534, the number of days field for a hr.leave has been set as readonly. It also implies that number_of_days is no longer part of the form view to only keep number_of_days_display. This commit fixes the test using number_of_days by replacing it with number_of_days_display. task-2901951
Fixes an issue where rapidly typing in the Home Menu could drop some characters when opening the command palette. Users now get the full intended search text, making app search and navigation more reliable.
Original PR description
Before this commit, in the HomeMenu, typing several characters very quickly could result in some not being present in the command palette when it was opened. Exemple: In the HomeMenu,if I type "a" "b" "c" quickly the command palette will open with the search value "/a" or "/ac". So we have lost the second and/or third character. Why: All characters typed between the first and the moment the command pallet is not yet mounted are lost because the search bar of the command pallet is not yet available. Solution: If you use openPalette and the command palette is already open. The configuration of the command pallet will be overwritten by the one given to openPalette. In our case, we can pass new configurations with the correct searchValue until the command palette is returned. Task-ID: 2906623