Daily updates from Odoo
Wednesday, March 23, 2022
1 change · master
Resolved issues and error corrections
Users can now share a file from a parent workspace even when the file is stored in a child workspace. The shared link correctly shows the selected file, preventing empty portal pages and reducing confusion for document sharing.
Original PR description
To reproduce :
creating workspace A and child workspace A1
uploading a file F on A1, return to parent workspace A
selecting file F and get share link
accessing link leads to portal without any file
When accessing link odoo searches for the file only in the selected folder
without taking in count children folders
this behaviour is caused by the domain ('folder_id', '=', self.folder_id.id)
To fix that the domain was changed so that children folders are taken in count.
opw-2739521