Odoo Help

Welcome!

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

0

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

By
willie ho
on 6/11/15, 12:26 AM 547 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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