IT Web Save Error Guard
Prevent secondary crash in FormController.onSaveError on non-RPC errors
Technical
v18.0.1.0.0
it_web_save_error_guard
Purpose
Stock Odoo 18 FormController.onSaveError reads error.data.message without guarding. When a non-RPC error reaches the save pipeline (nginx 413/502, expired session returning HTML, client-side JS exception), the error handler itself crashes with "Cannot read properties of undefined (reading 'message')", masking the real cause
Dependencies
web