Friday, February 7, 2025
4 changes · master
Resolved issues and error corrections
This fix removes leftover references to a previously removed mobile field in several business workflows. It helps prevent errors or inconsistencies when using delivery integrations and Belgian reporting features after the earlier cleanup.
Original PR description
Missed few places during removal of mobile field See - https://github.com/odoo/enterprise/pull/75203 Task-4555229
Companies can now view and update the rental location used for rental order replenishment. This prevents users from being blocked after a rental location is deleted, and also restores missing rental locations automatically during setup.
Original PR description
### Problem Before this commit, if the customer deletes the rental location they would be blocked from creating a rental order as it is necessary for replenishment rules. The issue becomes critical because, once deleted, the rental location cannot be set to the company functionally given the field is not present in the view. ### Solution To fix this, this commit adds `Rental Settings` making the `rental_loc_id` field visible in the `res_company` view, allowing customers to select their desired rental location and resolve the issue independently. Additionally, we call `create_missing_rental_location()` in the `post_init_hook` to ensure that the field is correctly set for all companies.  - opw-3973957 - opw-4488182 - opw-4545985
The appraisal module’s sample scenario data was updated to match a recent change in how employees are linked to appraisal goals. This prevents setup or automated validation errors and helps ensure appraisal demo data loads correctly.
Original PR description
The commit https://github.com/odoo/enterprise/commit/dd90f66a536539 Changed the `employee_id` field to Many2Many but the change was not reflected in `hr_appraisal_scenario` data. This commit changes the data file to match the new field. Runbot Error: https://runbot.odoo.com/odoo/action-573/115164
This update fixes how units of measure are handled when orders are created from replenishment and improves how conversion ratios are shown against a product's base unit. This helps users avoid quantity mistakes and better understand unit conversions in purchasing approval and quality control flows.