“部署时出现odoo错误,任何人都可以帮助”

时间:2018-12-13 14:41:46

标签: odoo

部署代码时遇到以下错误

File "/opt/odoo/odoo/addons/auth_crypt/models/res_users.py", line 54, in check_credentials
self.env.cr.execute(\'SELECT password, password_crypt FROM res_users WHERE id=%s AND active\', (self.env.uid,))
File "/opt/odoo/odoo-latest/odoo/sql_db.py", line 154, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/odoo-latest/odoo/sql_db.py", line 231, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: integer = boolean
LINE 1: ...T password, password_crypt FROM res_users WHERE id=false AND...
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.

0 个答案:

没有答案