I have create custom module in openerp7 and created security folder also and security is working good.
After creating security folder i am able to create as many users i want and all their access rights will be same.
What i needed is?
1. For Admin, i need to give separate access rights.
2. For Users, i need to give separate access rights For same module.
I have achieved this in openerp7 front-end using groups.
Is there any method to do from back-end? Thanks
May be this will help you
<record id="ID" model="ir.model.access">
<field name="name">Access rule name</field>
<field name="model_id" ref="model_name/>
<field name="group_id" ref="group_id/>
<field name="perm_read" eval="1"/>
<field name="perm_create" eval="0"/>
<field name="perm_write" eval="1"/>
<field name="perm_unlink" eval="0"/>
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: 5/27/15, 5:14 AM|
|Seen: 387 times|
|Last updated: 6/4/15, 5:51 AM|