How does ACL behave when there is more than one access rights for the same object for the same group.
For example: There is two rights entries for the object 'partner' for the same group sale/manager, having different accesses.
res.partner.sale.manager - Partner - Sales / Manager
res.partner.crm.user - Partner - Sales / Manager
Which access right will be used?
It will take the access rights with OR condition of those 2 access lines
Output will be a OR condition of both access (1,1,1,0)
So, you should always overwrite existing access to satisfy your condition.
i.e. change the access available in odoo modules by using id="MODULENAME.EXISTING_ID"
E.g. to change access
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 2/23/15, 1:20 AM|
|Seen: 504 times|
|Last updated: 3/30/15, 1:57 AM|