Daily updates from Odoo
Wednesday, August 10, 2022
3 changes
Resolved issues and error corrections
The Planning roles list view has been switched back to the older display system to avoid a compatibility issue that was breaking employee avatar fields. This restores the affected view for users while a fuller technical update can be handled later.
Original PR description
With the conversion to the new views, legacy x2many fields go through a thin and incomplete compatibility layer to talk to the new model. This compatibility layer is not very robust and as such most custom x2many fields are broken in this configuration, in this case the field "many2many_avatar_employee". The proper fix is to convert this field widget, but in the meantime, the simple fix is to force this view to keep using the legacy view instead of the new view.
Shared project task links now open correctly for portal visitors who do not have sales order access. The change prevents an unnecessary sales order lookup from blocking read-only task viewing, improving the shared project experience.
Original PR description
Steps to reproduce ------------------ 1. Install industry_fsm_sale 2. Create a project and tasks 3. Set the visibility of the project to 'Invited portal users and all internal users' 4. Click the 'Share Readonly' button and open the link in a private tab 5. Try to click on one of the tasks, you should get an access error --- This commit fixes this error by checking if the current user has access to sales orders at all before trying to get all the sales orders linked to a task. Task-2950231
Users can now insert articles into documents without triggering an error. This prevents interruptions while editing content and makes the document authoring experience more reliable.
Original PR description
**Current behavior before PR:** On inserting article to the document generates traceback. **Desired behavior after PR is merged:** Now you can insert an article without any issue. Task-2918774 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr