Thursday, April 23, 2020
5 changes · master
Enhancements to existing features
Contacts linked to user accounts can no longer have their contact type changed. This prevents account/contact mismatches that could block users from accessing their own user record.
Original PR description
When a user is linked to a contact, the type should not be modified. Otherwise, the res.partner type may become incompatible with the res.user record (e.g. is set as a private address and a user no longer has access to its own user) Fixes odoo/odoo#48177
Employees can now open their current company car directly from their profile, even without broader Fleet access. Fleet vehicle forms now better limit sensitive fields to fleet administrators, while car history records keep the correct driver or purchaser from the time they were created.
Original PR description
[IMP] (hr_)fleet : modify car info accessibility ----------------------------------------------------------- - The stat button "Car" (now "Current car") from "My Profile" now opens the current car…
[IMP] (hr_)fleet : modify car info accessibility
-----------------------------------------------------------
- The stat button "Car" (now "Current car") from "My Profile" now opens the current car instead of the whole history. This stat button is available even for people who usually do not have any access to Fleet.
- Several modifications in the fleet_vehicle form view. Accessibility to particular fields has been refined. Now some fields are only available to the fleet administrator ("fleet_group_manager").
- Remove duplicate in demo data ("Summer tires").
- On fleet.vehicle.odometer and fleet.vehicle.log.services, respectively 'driver_id' and 'purchaser_id' are no longer related. Now, they keep the correct person that was the driver of the corresponding car at the record creation.
- FIX: cost_id was still used in security rules whereas this field apparently no longer exists.
- Some python linting.
[IMP] hr_maintenance : modify equipment_count string
-------------------------------------------------------------------------
Modify displayed string for equipment_count for res_users in hr_maintenance.
TASK#2032894
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prAccess to specific fleet vehicle fields has been tightened so only fleet administrators can view or manage them. This helps protect sensitive fleet-related information and ensures only authorized staff can make changes.
Original PR description
[IMP] fleet_vehicle : refine accessibility to fields ---------------------------------------------------------------- Fleet_vehicle accessibility to particular fields has been refined and is now restricted to fleet administrator only (fleet_group_manager) TASK#2032894
This update improves how materials are ordered and managed from field service sales workflows. It helps field teams handle product quantities and related stock items more clearly, reducing confusion during service delivery.
Resolved issues and error corrections
This fixes an issue in the website calendar flow that affected visitors who were not signed in. Public users can now access the relevant calendar controller behavior more reliably, reducing friction for bookings or event scheduling.
Original PR description
TaskID: 2241501 Closes #49750 closes odoo/enterprise#10050 X-original-commit: 85b3f059fb23c2fb0e4c1459f454b64092496cb2 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>