Community mailing list archives

community@mail.odoo.com

hide product price for a specific category for some users[V8]

by
Emna Ragheb
- 05/16/2016 10:11:14
Hello Community , 

I would like to hide the product price for some users in a specific category , I've tried this code in the product view: 

<field name="price_list" groups="account.group_account_manager" attrs="{'invisible': ["[('categ_id', '=', 17)]}" />

the field is invisible only for this category but it is invisible for the account manager group as well , how could I make it visible for them.


Thank you !! 

------------------------------------------------------------------------------------

Greetings ,

Emna RAGHEB 

Odoo Techno-functional Consultant