User can only read a model but should be able to add a note

I have a situation where users only allowed to read products, so no create, changed etc, only read. Sometimes they want to add a note (ir.note) to a product. After they filled the form and clicked on “OK” they got the message

You cannot create such a document (product.product) 

What kind of access rules do I need to have to make this work? So only read access to products, but be able to add a note?

But default ir.attachment follows the access right of the resource. But you can override the check_access method from ResourceMixin.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.