Thursday, April 23, 2020
5 changes · master
Enhancements to existing features
CRM users now see cleaner forms when converting leads and reviewing lead reveal details. Unneeded or duplicated fields are hidden or corrected, reducing confusion and making key status information display properly.
Original PR description
Purpose ======= Improve the "mass lead to opportunity" view. The field `deduplicate` is used only when the name is "convert", so we can hide it to clarify the view. Improve the CRM reveal form view. The field `state` is defined 2 times in the same view with different widget. This is impossible and only the last field (no-widget) information will be kept (so the widget `statusbar` is never used). Task-2228921
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.