Odoo Help

0

0
1 Answer
0
Piavita AG
10‏/7‏/2018 11:05 ص

I can see the error now in this condition. 

I am comparing a value to a string "False" and not a Boolean False.

It works perfectly fine now when doing it correct:

<field name="firstname" attrs="{'invisible': [('is_company','=',True)], 'required':[('is_company', '=', False)]}"/>


Ask a Question
Writer
Keep Informed
1 follower(s)
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