Odoo Help


Invisible field based on Day on Odoo 8

on 11/14/16, 4:59 AM 444 views

i'm trying to make a field that can be fill based on day. if the relate day unchose, so it can be hide.
i've tried using attrs invisible but it can't be parse.
is there another way to make it invisible based on day?

On 11/15/16, 8:46 PM

Mr.Shameem thank you for your answer. I've tried using your advice, but it still error.

Shameem Babu @ iWesabe
On 11/14/16, 6:40 AM


Did you try this

<field name="your_field" attrs="{'invisible': [('day', '=', 2012-04-25)]}"/>

If do not work, you create a boolean field that is computed the visibility of the field. Then set attrs to that field.

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.


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

3 follower(s)


Asked: 11/14/16, 4:59 AM
Seen: 444 times
Last updated: 11/15/16, 8:46 PM