Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mail: don't raise access error on register_as_main_attachment
When you read a record with the document viewer on the right side that you don't have write access to this record and the message_main_attachment_id was not yet set on the record the document viewer try to set a value for message_main_attachment_id that raise an access error Set the value is not important but the popup Access error can be really annoying closes odoo#44722 Signed-off-by: Quentin De Paoli (qdp) <[email protected]>
- Loading branch information