I have tried Access control and record rules. It works perfectly.
But i cant control field level access.
For example i want to control access to product name field alone.
And is it possible from UI like access control and record rules. ?
i refereed here https://www.odoo.com/documentation/8.0/reference/security.html
Thanks for your reply . let me try. how set access like read,write,create,delete.
Is it possible control from UI like access control and record rules. ?
Instead Editing code. i need in UI just like ACL or Record Rules
Thanks @ Ankit Gauri . But this is not im asking . . asking UI like adding ACL to some group.
Let say. the group should list all fields . i have to assign which field are read only and write only from UI
you can make a field readonnly for particular group of user like this in Ui
<record id="view_readonly" model="ir.ui.view">
<field name="name">model.form.readonly manager</field>
<field name="groups_id" eval="[(6, 0, [ref(groups')])]"/>
<field name="arch" type="xml">
<field name="field" position="attributes">
<attribute name="readonly" >0</attribute>
it works perfectly i have used in my Ui and make a field readonly for user
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: 7/22/15, 10:03 AM|
|Seen: 759 times|
|Last updated: 7/23/15, 7:12 AM|