Hi everyone.
I got this message when try to login with admin user. I dont know why these happends. I uninstall the last module that I installed but it not works this is the error:
Someone can help me?
2020-06-25 16:14:42,797 26316 ERROR XXXXXX odoo.addons.website.models.ir_http: 500 Internal Server Error:
Traceback (most recent call last):
File "/opt/odoo/odoo12/odoo/addons/base/models/ir_http.py", line 203, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo12/odoo/http.py", line 835, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/odoo12/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo12/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo12/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo12/odoo/http.py", line 941, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo12/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo12/addons/portal/controllers/portal.py", line 148, in home
values = self._prepare_portal_layout_values()
File "/opt/odoo/odoo12/addons/purchase/controllers/portal.py", line 22, in _prepare_portal_layout_values
('state', 'in', ['purchase', 'done', 'cancel'])
File "/opt/odoo/odoo12/odoo/models.py", line 1547, in search_count
res = self.search(args, count=True)
File "/opt/odoo/odoo12/odoo/models.py", line 1570, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/opt/odoo/odoo12/odoo/models.py", line 4119, in _search
self._apply_ir_rules(query, 'read')
File "/opt/odoo/odoo12/odoo/models.py", line 3971, in _apply_ir_rules
where_clause, where_params, tables = Rule.domain_get(self._name, mode)
File "/opt/odoo/odoo12/odoo/addons/base/models/ir_rule.py", line 128, in domain_get
query = self.env[model_name].sudo()._where_calc(dom, active_test=False)
File "/opt/odoo/odoo12/odoo/models.py", line 3910, in _where_calc
e = expression.expression(domain, self)
File "/opt/odoo/odoo12/odoo/osv/expression.py", line 673, in __init__
self.parse()
File "/opt/odoo/odoo12/odoo/osv/expression.py", line 810, in parse
self.stack = [ExtendedLeaf(leaf, self.root_model) for leaf in self.expression]
File "/opt/odoo/odoo12/odoo/osv/expression.py", line 810, in <listcomp>
self.stack = [ExtendedLeaf(leaf, self.root_model) for leaf in self.expression]
File "/opt/odoo/odoo12/odoo/osv/expression.py", line 558, in __init__
self.check_leaf(internal)
File "/opt/odoo/odoo12/odoo/osv/expression.py", line 614, in check_leaf
raise ValueError("Invalid leaf %s" % str(self.leaf))
ValueError: Invalid leaf (('create_uid', '=', 22),)
Which module did you uninstall? Is it a custom module or base (standard) module?