Skip to Content
Menu
This question has been flagged
12678 Views

Hi,


I am new to Odoor and am trying to self host Odoo 15 Enterprise version. I am able to create a new Opportunity however when I try to edit it, I get the following error. This happens when I click on the opprtunity in the CRM pipeline or choose edit on the menu. Please assist.

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

result = request.dispatch()

File "/odoo/odoo-server/odoo/http.py", line 688, in dispatch

result = self._call_function(**self.params)

File "/odoo/odoo-server/odoo/http.py", line 360, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/odoo/odoo-server/odoo/service/model.py", line 94, in wrapper

return f(dbname, *args, **kwargs)

File "/odoo/odoo-server/odoo/http.py", line 349, in checked_call

result = self.endpoint(*a, **kw)

File "/odoo/odoo-server/odoo/http.py", line 917, in __call__

return self.method(*args, **kw)

File "/odoo/odoo-server/odoo/http.py", line 536, in response_wrap

response = f(*args, **kw)

File "/odoo/odoo-server/addons/web/controllers/main.py", line 1335, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/odoo/odoo-server/addons/web/controllers/main.py", line 1327, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/odoo/odoo-server/odoo/api.py", line 464, in call_kw

result = _call_kw_multi(method, model, args, kwargs)

File "/odoo/odoo-server/odoo/api.py", line 451, in _call_kw_multi

result = method(recs, *args, **kwargs)

File "/odoo/odoo-server/odoo/models.py", line 3216, in read

raise ValueError("Invalid field %r on model %r" % (name, self._name))

Exception



The above exception was the direct cause of the following exception:



Traceback (most recent call last):

File "/odoo/odoo-server/odoo/http.py", line 644, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/odoo/odoo-server/odoo/http.py", line 302, in _handle_exception

raise exception.with_traceback(None) from new_cause

ValueError: Invalid field 'visitor_sessions_count' on model 'crm.lead'


Avatar
Discard

The error shows that the visitor_sessions_count is invalid in model crm.lead, These field added to crm.lead in module website_crm_livechat (Lead Livechat Sessions) so check if this module installed or not?

Author

The module is installed

Related Posts Replies Views Activity
0
Aug 24
189
2
Mar 24
257
1
Jul 22
1598
0
May 22
912
1
May 22
891