Skip to Content
Menu
This question has been flagged

Hi everyone

I have the following problem. When entering the purchases module and going to the purchase report I get the following error:

Error:

Odoo Server Error



Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/http.py", line 624, in _handle_exception

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

File "/home/odoo/src/odoo/odoo/http.py", line 310, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 14, in reraise

raise value

File "/home/odoo/src/odoo/odoo/http.py", line 669, in dispatch

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

File "/home/odoo/src/odoo/odoo/http.py", line 350, in _call_function

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

File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper

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

File "/home/odoo/src/odoo/odoo/http.py", line 339, in checked_call

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

File "/home/odoo/src/odoo/odoo/http.py", line 915, in __call__

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

File "/home/odoo/src/odoo/odoo/http.py", line 515, in response_wrap

response = f(*args, **kw)

File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1339, in call_kw

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

File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1331, in _call_kw

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

File "/home/odoo/src/odoo/odoo/api.py", line 383, in call_kw

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

File "/home/odoo/src/odoo/odoo/api.py", line 356, in _call_kw_model

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

File "/home/odoo/src/odoo/odoo/models.py", line 2193, in read_group

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

File "/home/odoo/src/odoo/odoo/models.py", line 2320, in _read_group_raw

self._cr.execute(query, where_clause_params)

File "/home/odoo/src/odoo/odoo/sql_db.py", line 173, in wrapper

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

File "/home/odoo/src/odoo/odoo/sql_db.py", line 250, in execute

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

psycopg2.DataError: numeric field overflow

DETAIL: A field with precision 16, scale 2 must round to an absolute value less than 10^14.

Please can you help me with this error. I would be very grateful


Avatar
Discard
Related Posts Replies Views Activity
0
Feb 24
335
0
Feb 20
4062
0
Sep 17
2462
1
Mar 15
4171
1
Jul 21
2395