Odoo Help


This community 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.


Invisible on change attrs more than one

Fransis L. Yoas
on 7/8/13, 11:18 PM 1,540 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.


Ghanshyam Prajapati

--Ghanshyam Prajapati--
| 4 4 8
Pune, India
--Ghanshyam Prajapati--
OpenERP Developer
Ghanshyam Prajapati
On 7/9/13, 4:16 AM

Hi Fransis,

Its a so simple,

Try Following


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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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