Odoo Help

0

Invisible on change attrs more than one

By
Fransis L. Yoas
on 7/8/13, 11:18 PM 1,947 views

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.

1
Ghanshyam Prajapati
On 7/9/13, 4:16 AM

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.

Fransis L. Yoas
on 7/9/13, 5:01 AM

Try {'invisible':[('x_rwis','not in',['a','b','c','d'])]} and please mark my answer as solved if your problem is solved. Thanks.. :)

Ghanshyam Prajapati
on 7/9/13, 6:11 AM

thanks very much. It worked!

Fransis L. Yoas
on 7/9/13, 7:37 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/8/13, 11:18 PM
Seen: 1947 times
Last updated: 3/16/15, 8:10 AM