Odoo Help


Odoo8: Find a way to reset a field to his default value when this one has been hidden in form side?

on 6/16/17, 7:24 AM 342 views

As my question said, I would like to know if there is a better or an "automatic" way to do this kind of behavior.

Actually I do this in my code :

# When the field has been hidden for some reason
my_visible_field = default_value

Mohammed Amal

--Mohammed Amal--

| 5 3 7
Malappuram, India
--Mohammed Amal--

Email : mohammedamal.n@gmail.com

Mohammed Amal
On 6/16/17, 8:10 PM


I hope you are hiding your field according to value from another field(say field_2) in your from.

Then you can give onchange function to your field_2 to set value for your first field

I exactly do that, but I would like to know if there is another way to do that.

on 6/17/17, 5:22 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.


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)


Asked: 6/16/17, 7:24 AM
Seen: 342 times
Last updated: 6/16/17, 8:10 PM