Daily updates from Odoo
Saturday, August 30, 2025
2 changes · master
New functionality added to Odoo
Users can now choose where documents go when moving, duplicating, creating shortcuts, or creating documents from attachments. This makes document organization more flexible, including support for destinations like My Drive and Company, while simplifying how the system handles document locations.
Original PR description
### Purpose Allow users to choose the location when * moving documents * creating shortcuts * duplicating files * creating a document from attachment (from chatter) ### Implementation choices…
### Purpose Allow users to choose the location when * moving documents * creating shortcuts * duplicating files * creating a document from attachment (from chatter) ### Implementation choices motivation As "My Drive" and "Company" are valid destinations for these operations, As these are not folders, As we do not want to repeat ourselves, We here introduce the `user_folder_id` a computed `Char` representing a virtual folder (matching a real folder if its value is a number, or a special sections from documents otherwise, such as "MY" and "COMPANY"). This allows to concentrate the logic about what constitutes these "virtual" folders on the `documents.document` model and simplify lots of webclient code. Additionally, a new and more convenient `user_can_move` will replace `is_company_root_folder` in the views-required computed fields to further help centralize logic on the models. For example, we can allow moving documents from different places at once. See details in individual commits. Task-4685403
The ESG app now includes IPCC greenhouse gas data and updated warming potential values, giving businesses a broader and more reliable basis for carbon reporting. Users can import supported emissions databases more smoothly and are guided directly to emission factors after a successful import.
Original PR description
task-4812645