Custom Error Dialog
by Steven Marp https://apps.odoo.com/apps/modules/browse?author=Steven Marp$ 39.73
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 107 |
| Technical Name |
sm_custom_error_dialog |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Steven Marp |
| Versions | 18.0 19.0 |
Custom Error Dialog
Speak To Your Users In Your Own Words
Configure From Settings
Turn it on and set your titles in Settings. Changes apply on the next page load â no server restart, no developer.
Global Or Per-Type
One global title for every error dialog, or dedicated titles for Validation, Access, and User errors that override the global one.
Matches By Error Type
Targets the exception type (ValidationError, AccessError, UserError), not a translated label â so it keeps working in every language.
Validation Error Title
Shown whenever Odoo raises a Validation Error. Rename it to match your business language.
Step 1 â Settings: type your Validation Error title.
Before: default Odoo title "Validation Error".
After: your own title on the popup.
User Error Title
Odoo shows "Invalid Operation" for User Errors. Replace it with a friendlier message.
Step 1 â Settings: type your User Error title.
Before: default Odoo title "Invalid Operation".
After: your own title on the popup.
Access Error Title
Shown when a record rule or access right blocks the user. Reword it to guide them.
Step 1 â Settings: type your Access Error title.
Before: default Odoo title "Access Error".
After: your own title on the popup.
Global Title (All Error Dialogs)
Set one title that applies to every error type at once. Per-type titles above still take priority when filled.
Step 1 â Settings: set one Global title for all dialogs.
Before: default Odoo title (e.g. "Missing Record").
After: your global title covers dialogs without a per-type override.
Safe And Lightweight
When the feature is disabled, no patch is applied and Odoo behaves exactly as before. The title is resolved cleanly inside the standard error dialog components, so tracebacks, copy-to-clipboard, and technical details all keep working.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 107 |
| Technical Name |
sm_custom_error_dialog |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Steven Marp |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module