Soft Validation Before Save
Soft Validation Before Save
Configurable Non-Blocking "Are You Sure?" Confirmations Before Form Save in Odoo 19
Prevent accidental typos, abnormally high invoice amounts, or inconsistent data inputs.
Triggers a soft confirmation dialog allowing users to double-check or proceed without blocking the save workflow.
Odoo 19.0
Zero Custom Coding Needed
All Models Compatible
Non-Blocking Soft Warning
How Soft Validation Works
Form Intercept:
Intercepts the
Save
action on form views before data is permanently written to the database.
Active Rule Evaluation:
Sends current form values to the server to check against UI-configured rules for that model.
Soft Confirmation Dialog:
If an anomaly is detected, a confirmation popup appears with your custom title and message asking:
"Are you sure?"
Human Choice:
The user can click
Confirm
to finish saving, or
Cancel
to adjust the form inputs.
Fail-Safe Guarantee:
If a rule cannot be evaluated due to technical errors or domain misconfigurations, it skips silently to ensure legitimate saves are never blocked.
DEMO WATCH NOW
Condition 1
Amount Threshold Rules
Select any numeric field (Integer, Float, Monetary), a comparison operator (
>
,
>=
,
<
,
<=
,
=
,
!=
), and a limit.
Example: Trigger confirmation if Total Amount > $10,000.
Condition 2
Discrepancy Domain Rules
Define custom Odoo domains to check form conditions that simple thresholds cannot cover.
Example:
[('partner_id', '=', False)]
or custom selection field states.
Supported Field Types for Validation
Char
Text
Html
Boolean
Integer
Float
Monetary
Selection
Date
Datetime
Note: Relational fields (Many2one, One2many, Many2many) are intentionally excluded from form payload evaluation to optimize performance. Keep domain rules targeted on the supported scalar field types listed above.
Confirmation Dialog Example
------------------------------------------------------------------
High Order Amount Warning
------------------------------------------------------------------
The total amount ($15,500.00) exceeds the configured threshold
of $10,000.00. Are you sure you want to save this record?
[ Cancel ] [ Confirm Save ]
------------------------------------------------------------------
Config Access
Settings ⣠Technical ⣠Soft Validation Rules
Multi-Company
Global or per-company rules supported
Trigger Layer
Runs prior to standard @api.constrains
Complete User Interface Walkthrough
A clean, standard Odoo UI matching the core accounting platform theme flawlessly.
SEO Terms:
Odoo soft validation before save, Odoo form save confirmation dialog, popup warning before save Odoo 19, soft_validation_before_save, Odoo amount threshold validation, confirmation popup Odoo technical rules, non blocking save confirmation, SyncSoft.
Developed with
by SyncSoft Team
Contact Us
SyncSoft