Tuesday, September 20, 2011

OpenERP - ProgrammingError: operator does not exist: integer = boolean

ProgrammingError: operator does not exist: integer = boolean
LINE 1: select name, model from ir_ui_view where (id=false or inheri...
                                                    ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

Well all that crap comes from the fact that an OpenERP object does not have a name... Thus undefined field is false so the error about boolean and then a cast issue in query...

No comments: