Friday, January 9, 2026
2 changes · saas-17.2
Resolved issues and error corrections
Payment attempts through Adyen with invalid connection details no longer create alarming error logs. The issue is now treated as a warning, reducing noise for support and operations teams while preserving visibility into the failed payment setup.
Original PR description
Currently, The traceback message is occurring when making a payment with an invalid API. This error message occurs during the make a payment request with an invalid API key, we need to change the…
Currently, The traceback message is occurring when making a payment with an invalid API.
This error message occurs during the make a payment request with an invalid API key, we need to change the logger error message to a logger warning message at [1] to prevent an error log in a terminal.
Traceback on sentry:
```
gaierror: [Errno -2] Name or service not known
File "urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f608ee1e1a0>: Failed to establish a new connection: [Errno -2] Name or service not known
File "urllib3/connectionpool.py", line 700, in urlopen
httplib_response = self._make_request(
File "urllib3/connectionpool.py", line 383, in _make_request
self._validate_conn(conn)
File "urllib3/connectionpool.py", line 1017, in _validate_conn
conn.connect()
File "urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
MaxRetryError: HTTPSConnectionPool(host='yourneed-checkout-live.adyenpayments.com', port=443): Max retries exceeded with url: /checkout/V70/paymentMethods (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f608ee1e1a0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
File "requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "urllib3/connectionpool.py", line 756, in urlopen
retries = retries.increment(
File "urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
ConnectionError: HTTPSConnectionPool(host='yourneed-checkout-live.adyenpayments.com', port=443): Max retries exceeded with url: /checkout/V70/paymentMethods (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f608ee1e1a0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
File "addons/payment_adyen/models/payment_provider.py", line 121, in _adyen_make_request
response = requests.request(method, url, json=payload, headers=headers, timeout=60)
File "requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "requests/sessions.py", line 544, in request
resp = self.send(prep, **send_kwargs)
File "requests/sessions.py", line 657, in send
r = adapter.send(request, **kwargs)
File "requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
```
link[1]: https://github.com/odoo/odoo/blob/e3ee1f8bd85f3ea7287ab6b78847798190246b5d/addons/payment_adyen/models/payment_provider.py#L124-L127
sentry-4955120723
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update fixes a technical error that could prevent certain account reports from generating correctly. The issue stemmed from a missing value within the report formatting process, which caused an error. This change ensures that reports continue to generate accurately, maintaining data integrity.
Original PR description
An error occurs when the system tries to retrieve the value of 'blank_if_zero' from 'column_dict', but it is not available at [1]. To handle this issue, we can use the .get() method to obtain the…
An error occurs when the system tries to retrieve the value of 'blank_if_zero' from 'column_dict', but it is not available at [1]. To handle this issue, we can use the .get() method to obtain the value.
link [1]: https://github.com/odoo/enterprise/blob/adbf9375a07980c8b9b4f621dfaba5ffc99c4162/account_reports/models/account_report.py#L2237
Traceback On Sentry:
```
KeyError: 'blank_if_zero'
File "odoo/http.py", line 2248, in __call__
response = request._serve_db()
File "odoo/http.py", line 1823, in _serve_db
return self._transactioning(_serve_ir_http, readonly=ro)
File "odoo/http.py", line 1843, in _transactioning
return service_model.retrying(func, env=self.env)
File "odoo/service/model.py", line 134, in retrying
result = func()
File "odoo/http.py", line 1821, in _serve_ir_http
return self._serve_ir_http(rule, args)
File "odoo/http.py", line 1828, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "odoo/http.py", line 2053, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "odoo/addons/base/models/ir_http.py", line 220, in _dispatch
result = endpoint(**request.params)
File "odoo/http.py", line 756, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "addons/web/controllers/dataset.py", line 38, in call_kw
return self._call_kw(model, method, args, kwargs)
File "addons/web/controllers/dataset.py", line 34, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "odoo/api.py", line 458, in call_kw
result = getattr(recs, name)(*args, **kwargs)
File "home/odoo/src/enterprise/saas-17.2/account_reports/models/account_report.py", line 2223, in format_column_values
self._format_column_values(options, lines, force_format=True)
File "home/odoo/src/enterprise/saas-17.2/account_reports/models/account_report.py", line 2237, in _format_column_values
elif column_dict['blank_if_zero'] and column_dict['is_zero']:
```
sentry - 5564693263