Skip to Content
Menu
This question has been flagged
2 Replies
3207 Views

I would like to invisible one field called "Cost", and only the group sale team could not see in in my product form.

How to do it please? 

Thank you

Avatar
Discard
Best Answer

Hi,

You can add <field name="name" invisible="1" /> to make field or if it is based on some condition 

use <field name="name" attrs="{'invisible': [('field','!=',value)]}"/> this will make field invisible depending on the another field. you can also add groups attribute to field, so that field will be visible to users in that group.

Avatar
Discard