Sunday, March 9, 2025
4 changes · master
Enhancements to existing features
The spreadsheet edition module was updated to work with a changed file storage process used when handling copied content. This keeps image and file handling in spreadsheets aligned with the latest clipboard improvements, helping users avoid disruptions when pasting or managing content.
Original PR description
Following the improvement of the clipboard (see https://www.odoo.com/odoo/2328/tasks/4235104) the record file store API was changed. Task-4235104
Miscellaneous changes
Forward-Port-Of: odoo/enterprise#80854
Original PR description
Forward-Port-Of: odoo/enterprise#80854
\+ tests update in documents_approval Fix owner edit role member after copy or creating inside a folder, including while specifying access_ids. Allow client code to add members to the default members added by the base logic of documents (owner's log) and folders inherited values => Fix HR Payroll Employee Declaration where members of the payroll folder would not have access to the generated documents. The paradigm is: * The owner should always have a "document.access" record create
Original PR description
\+ tests update in documents_approval Fix owner edit role member after copy or creating inside a folder, including while specifying access_ids. Allow client code to add members to the default members…
\+ tests update in documents_approval Fix owner edit role member after copy or creating inside a folder, including while specifying access_ids. Allow client code to add members to the default members added by the base logic of documents (owner's log) and folders inherited values => Fix HR Payroll Employee Declaration where members of the payroll folder would not have access to the generated documents. The paradigm is: * The owner should always have a "document.access" record created * It should be possible to add a member in addition to the inherited ones. * If one passes values for a member when creating, it should override the default value for that partner. * If access_ids is passed as `False`, it should prevent inheriting access (but not prevent a role=False record for owner). * Follow-up of https://github.com/odoo/enterprise/pull/77783, there is no need to enforce logic for owner's `documents.access` role as the owner is basically an empowered editor. Additionally, make sure that * No membership (document.access with role) is created for odoobot * The access of owner is not shown on the permission panel Task-4593290 Forward-Port-Of: odoo/enterprise#81002 Forward-Port-Of: odoo/enterprise#79915
See included commits that * allow deleting unused company folders * prevent quick creating folders in the config settings opw-4444537 Task-4531261 Forward-Port-Of: odoo/enterprise#80992 Forward-Port-Of: odoo/enterprise#78234
Original PR description
See included commits that * allow deleting unused company folders * prevent quick creating folders in the config settings opw-4444537 Task-4531261 Forward-Port-Of: odoo/enterprise#80992 Forward-Port-Of: odoo/enterprise#78234