Daily updates from Odoo
Thursday, March 23, 2023
2 changes
Enhancements to existing features
Fleet managers can now reserve a company car directly for an applicant instead of using a placeholder employee. When a salary package simulation link is generated, the system automatically selects the car reserved for that applicant, reducing manual coordination and lookup work.
Original PR description
Purpose: For now if the fleet manager wants to reserve a car for the applicant that is not yet an employee, they reserve the car by linking it to a fake employee "reserved" as a future driver. Afterwards, when the manager sends the link, they force the car by putting it as an default car, as otherwise the car will not appear in the list of the cars as the future driver is set on it. It requires too much coordination. Instead, it is already possible that the manager sets applicant (corresponding res.partner) as a future driver on the car to reserve it. In this commit, we compute the default car for the res.partner, where they are set as the future driver, so that the fleet manager does not have to manually look up for the vehicle and set it. task - 3053243
The document request wizard now shows user avatars when choosing an owner. This makes it easier for staff to recognize and select the correct person, especially in teams with similar names.
Original PR description
This commit adds the 'many2one_avatar_user' widget to the 'owner_id' field in the document's request wizard. Task-3223323