I create two Record Rules:
1st Record Rule
Object: ir.attachement
Apply to Read, Write, Create, Delete
Rule Definition: [('res_name','=',[user.partner_id.name])]
Group:
Employees / Employee
Employees / Officer
2nr Record Rule
Object: ir.attachement
Apply to Read, Write, Create, Delete
Rule Definition: [(1,'=',1)]
Group:
Employees / Responsable
It works fine until I refresh the page, then I can no longer access the system because there is nothing but some images and icons.
any idea how to solve the problem?
Thank you