跳至内容
菜单
此问题已终结
1 回复
2962 查看
ProgrammingError: operator does not exist: integer = boolean
LINE 1: SELECT "user_id" FROM "hr_employee" WHERE "id" IN (false)
                                                       ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

形象
丢弃
最佳答案

Hello aneesh,

When Employee is created its not creating its related user automatically for that employee.

so, while you are creating employee related user field is False.

形象
丢弃
编写者

Can you please explain more?

@aneesh, Yes of course.

say how can i help?