Is it possible? What i currently using on field attrs is {'invisible':[('x_rwis','=','a')]} I want more than 1 (a,b,c,d) value to be the trigger of the invisible field. Can I? I'm using developers mode and manage views to edit the OpenERP.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
Hi Fransis,
Its a so simple,
Try Following
{'invisible':[('x_rwis','in',['a','b','c','d'])]}
Hope it work for you.
wow thanks sir, it's worked. Can I ask 1 more question sir? by default selection is chosing " " (blank as the value), if I want to set invisible when that selection is choosen (the blank ones), what must I insert on the attrs? I've tried to insert ' ' (with one space) but it wont worked.
Try {'invisible':[('x_rwis','not in',['a','b','c','d'])]} and please mark my answer as solved if your problem is solved. Thanks.. :)
thanks very much. It worked!