Odoo Help

0

how to solve ProgrammingError: operator does not exist: integer = boolean from domain?

By
willie ho
on 6/11/15, 12:26 AM 698 views

i put a condition in domain ('field1','=',False)

when I press search more, it shows an error: ProgrammingError: operator does not exist: integer = boolean

how to solve this problem?


Have you added the domain to a many2one filed? What type id field is filed1. is it int, char or boolean? If you field (say f1) which is a many2one field and you are adding domain to that, the declaration should be as follows: 'f1': fields.many2one('parent.class','F1',domain=[('field1','=',False)]), where field1 is the field in parent.class

scot77844
on 6/11/15, 5:59 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.

Register

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)

Stats

Asked: 6/11/15, 12:26 AM
Seen: 698 times
Last updated: 6/11/15, 5:59 AM