Reputation: 2358
How hide field Assigned to for simple user etc. Project > Task (Assigned to)?
Administrator can see this fields!
Upvotes: 0
Views: 93
Reputation: 11141
You should need to understand basic concept of security mechanism of Odoo.
Follow below steps:
For example:
<record id="field_invisible_from_others" model="res.groups">
<field name="name">Only Admin can see</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
For example:
<field name="field" groups="module_name.field_invisible_from_others">
Refer more details of Security in Odoo.
Upvotes: 1