Daily updates from Odoo
Thursday, April 24, 2025
3 changes · master
Code cleanup and technical improvements
Spreadsheet relation filters now use the shared cached lookup mechanism when showing record names. This keeps the enterprise spreadsheet code aligned with the main platform change and can reduce repeated data requests, improving responsiveness without changing user workflows.
Original PR description
This commit adapts enterprise code to https://github.com/odoo/odoo/pull/206464 Task: 4735879
HR now gets a dedicated Employees folder with a folder for each employee, helping HR teams centralize employee documents without automatically exposing them to employees. Payslips and payroll documents are shared through employee My Drive links or secure email links, with an option to resend payslip access when needed.
Original PR description
Purpose ======= The goal is to have a folder for each employee where HR Officers can easily centralize the necessary documents, without the employee having access by default. If an employee needs a…
Purpose ======= The goal is to have a folder for each employee where HR Officers can easily centralize the necessary documents, without the employee having access by default. If an employee needs a document, it can simply be shared with them, allowing them to find it in "shared with me". HR > Employees > Alain (avw) About Payroll ------------------- We consider that Payroll does not need to access other document sources beyond those already available to HR Officers. Therefore, Payroll will use the documents from each employee’s folder when necessary. If Payroll requires additional documents, they will add them directly to the employee’s folder. It is unlikely that these documents would be inaccessible to HR Officers. In exceptional cases, Payroll can always manually create a specific folder, which is not a real issue. Regarding payslips, they will be integrated into document only for the employee via “My Drive”: Specifications =========== - 'Payroll' folder become 'Employees' folder and a sub folder is created for each employee (with or without user) - Allow portal users to own root documents (mandatory to have a my drive) - Add a button to display the document permission panel on the configured 'Employees folder', directly from the settings. - Automatically send an access link to the private email address (fallback work email) for payslips that are put to done - Remove the Send HR Documents Access Link - Add on the form view of a payslip and in list/kanban view of the payslips an option to "Resend Payslip" in the gear icon See more details on sub-commits. Task-4309991
The VoIP code was reorganized to use standard browser capabilities directly instead of relying on an internal wrapper. This is an internal cleanup that should make the feature easier to maintain without changing how users make or receive calls.
Original PR description
In the past, all browser function/objects were used through the `browser` object. Now, the only property that you need to use through `browser` is `location`. For everything else you can use global functions/objects by calling them directly.