Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1200 Weergaven

I am using  odoo 12 enterprise.

What is the problem with the following record rule?

object: Documents Folder
['|', ('group_ids', 'in', [g.id for g in user.groups_id]) ,('group_ids', '=', False)]


When I click on search more  in  field folder in attachment form I get the following error :


odoo.exceptions.AccessError: ('The requested operation cannot be completed due to security restrictions. Please contact your system administrator.\n\n(Document type: documents.folder, Operation: read)', None)


UnicodeError: unable to convert 


Avatar
Annuleer
Beste antwoord

The rule is fine. The problem is there is no read access right for the logged-in user to the Document Folder model.

you can create a group for this model's access right and then assign the user to the corresponding group.

Avatar
Annuleer