Daily updates from Odoo
Thursday, December 21, 2023
1 change
Code cleanup and technical improvements
This update aligns Enterprise apps with a platform change that makes user information available directly rather than through a background service. It keeps affected areas such as Documents, Studio, Helpdesk, Accounting, Appointments, HR Appraisal, and spreadsheet features working consistently, including Studio-specific context handling.
Original PR description
This PR adapts the enteprise codebase to a community change [1] where the user service is removed and replaced by a simple object. The `user` object can now be imported directly, without using `useService` (in components) or declaring it as a dependency and accessing it from the env (in services). Some changes were requested in Studio with the way it forces the key `studio: 1` in the context. More information is available in that specific commit. [1] https://github.com/odoo/odoo/pull/145362 Part of task 3621046