Daily updates from Odoo
Monday, August 4, 2025
2 changes · saas-17.2
Resolved issues and error corrections
This fixes an error that could appear when users changed settings tied to a module after that module had been uninstalled. Users can now discard or interact with those settings without hitting a crash, improving reliability in system configuration.
Original PR description
When the user uninstalls the module and still tries to access the fields of that module in settings, a KeyError will be generated. Steps to reproduce the error: - Go to settings > enable Use a Gmail…
When the user uninstalls the module and still tries to access the fields of
that module in settings, a KeyError will be generated.
Steps to reproduce the error:
- Go to settings > enable Use a Gmail Server
- Uninstall google_gmail
- Enter a value for ID > Discard
Traceback:
```
KeyError: 'google_gmail_client_identifier'
File "odoo/http.py", line 2254, in __call__
response = request._serve_db()
File "odoo/http.py", line 1830, in _serve_db
return self._transactioning(_serve_ir_http, readonly=ro)
File "odoo/http.py", line 1850, 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 1828, in _serve_ir_http
return self._serve_ir_http(rule, args)
File "odoo/http.py", line 1835, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "odoo/http.py", line 2060, 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 742, 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 "addons/web/models/models.py", line 871, in onchange
defaults = self.default_get(missing_names)
File "odoo/addons/base/models/res_config.py", line 464, in default_get
classified = self._get_classified_fields(fields)
File "odoo/addons/base/models/res_config.py", line 424, in _get_classified_fields
field = self._fields[name]
```
sentry-4636111851
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe website editor now safely handles unsupported shape files instead of triggering an error. This prevents a specific editing issue from interrupting users when an unexpected file type is encountered.
Original PR description
The error arises because ``file_open`` is called with a file path that includes a ``.css`` extension, which is not supported in this context where a ``.svg`` file is expected. Error: ``ValueError: Unsupported file: actuator;/static/shapes/env;.css`` This commit adds a try-catch block to handle a ValueError when an unsupported file is added. sentry-5163461799 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr