Daily updates from Odoo
Wednesday, March 23, 2022
3 changes · master
Resolved issues and error corrections
The Discard button now properly closes affected task dialogs instead of leaving them open. This prevents user confusion and makes cancelling changes in field service project task views behave as expected.
Original PR description
* industry_fsm Prior to this commit some dialogs were not closing when clicking on Discard.
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-2739521Installing the Sign app from the web client now handles missing location session data without crashing. This allows administrators to complete installation and load demo data smoothly.
Original PR description
Fix the error, by bypassing request.session['geoip'] while 'geoip' is not in the request.session before this commit: If the administrator install Sign from web browser, the demo data cannot be loaded without triggering an error.