&引用;部署时出现odoo错误,有人帮忙吗;

&引用;部署时出现odoo错误,有人帮忙吗;,odoo,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/sq

部署代码时遇到以下错误

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.

您有部署的自定义代码吗?如果您不向我们显示您的代码或尝试执行的操作,我们将无法帮助您。您是如何获得此错误的?您是否使用XML-RPC调用了我今天遇到的某个错误,因为我运行的更新脚本针对运行不同数据库的服务器指定了一个数据库。