Skip to Content
Menu
This question has been flagged

On some Odoo Community V15 databases (Docker image) we are experiencing some problems with the website module.

This is causing us this error.

We have tried to update the website, ecommerce, database and themes modules.

Do you have any idea?


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

result = request.dispatch()

File "/usr/lib/python3/dist-packages/odoo/http.py", line 687, in dispatch

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 359, in _call_function

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

File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 94, in wrapper

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 348, in checked_call

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 916, in __call__

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 535, in response_wrap

response = f(*args, **kw)

File "/usr/lib/python3/dist-packages/odoo/addons/website_sale/controllers/backend.py", line 54, in fetch_dashboard_data

report_product_lines = request.env['sale.report'].read_group(

File "/usr/lib/python3/dist-packages/odoo/models.py", line 2438, in read_group

result = self._read_group_raw(domain, fields, groupby, offset=offset, limit=limit, orderby=orderby, lazy=lazy)

File "/usr/lib/python3/dist-packages/odoo/models.py", line 2580, in _read_group_raw

self._cr.execute(query, where_clause_params)

File "", line 2, in execute

File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 89, in check

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

File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 310, in execute

res = self._obj.execute(query, params)

Exception



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



Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/http.py", line 643, in _handle_exception

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

File "/usr/lib/python3/dist-packages/odoo/http.py", line 301, in _handle_exception

raise exception.with_traceback(None) from new_cause

psycopg2.errors.UndefinedColumn: column sale_report.website_id does not exist

LINE 4: WHERE (((("sale_report"."website_id" = 2) AND ("...

^




Avatar
Discard
Related Posts Replies Views Activity
4
May 24
5285
0
Jan 23
1275
0
May 22
955
3
Apr 25
1550
1
Apr 25
805