Skip to Content
Menu
This question has been flagged

While doing search content in elearning platform in odoo 13, return error 500 traceback. I copied below:


Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
    result = request.dispatch()
  File "/odoo/odoo-server/odoo/http.py", line 803, in dispatch
    r = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/website_slides/controllers/main.py", line 380, in channel
    slide_count = request.env['slide.slide'].sudo().search_count(domain)
  File "/odoo/odoo-server/odoo/models.py", line 1533, in search_count
    res = self.search(args, count=True)
  File "/odoo/odoo-server/odoo/models.py", line 1556, in search
    res = self._search(args, offset=offset, limit=limit, order=order, count=count)
  File "/odoo/odoo-server/odoo/models.py", line 4275, in _search
    if expression.is_false(self, args):
  File "/odoo/odoo-server/odoo/osv/expression.py", line 215, in is_false
    for token in reversed(normalize_domain(domain)):
  File "/odoo/odoo-server/odoo/osv/expression.py", line 207, in normalize_domain
    assert expected == 0, 'This domain is syntactically not correct: %s' % (domain)
AssertionError: This domain is syntactically not correct: ['&', ('website_id', 'in', (False, 1)), '&', ('channel_id', '=', 1), ('is_category', '=', False), '|', '|', '|', ('name', 'ilike', 'guarda'), ('description', 'ilike', 'guarda'), ('html_content', 'ilike', 'guarda')]

Avatar
Discard

Have you done any customization? Which module are you using for E-Learning?

Related Posts Replies Views Activity
0
Nov 21
1577
8
Mar 20
2510
0
Oct 19
2833
1
Nov 21
2983
3
Sep 21
4120