Odoo Help


1 Answer
Piavita AG
7/10/18, 11:05 AM

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

Odoo Training Center

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

Test it now