Traceback (most recent call last):
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 675, in dispatch
result = self._call_function(**self.params)
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/odoo/odoo-dev/odoo10/odoo/service/model.py", line 119, in wrapper
return f(dbname, *args, **kwargs)
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 324, in checked_call
result = self.endpoint(*a, **kw)
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 933, in __call__
return self.method(*args, **kw)
File "/home/odoo/odoo-dev/odoo10/odoo/http.py", line 504, in response_wrap
response = f(*args, **kw)
File "/home/odoo/odoo-dev/odoo10/addons/web/controllers/main.py", line 821, in load_needaction
return request.env['ir.ui.menu'].browse(menu_ids).get_needaction_data()
File "/home/odoo/odoo-dev/odoo10/odoo/addons/base/ir/ir_ui_menu.py", line 232, in get_needaction_data
res[menu.id]['needaction_counter'] = model._needaction_count(dom)
File "/home/odoo/odoo-dev/odoo10/odoo/addons/base/ir/ir_needaction.py", line 47, in _needaction_count
res = self.search((domain or []) + dom, limit=100, order='id DESC')
File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 1518, in search
res = self._search(args, offset=offset, limit=limit, order=order, count=count)
File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 4224, in _search
query = self._where_calc(args)
File "/home/odoo/odoo-dev/odoo10/odoo/models.py", line 4023, in _where_calc
e = expression.expression(domain, self)
File "/home/odoo/odoo-dev/odoo10/odoo/osv/expression.py", line 643, in __init__
self.parse()
File "/home/odoo/odoo-dev/odoo10/odoo/osv/expression.py", line 821, in parse
raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))
ValueError: Invalid field 'parent_id' in leaf "<osv.ExtendedLeaf: ('parent_id', '=', False) on project_task (ctx: )>"