Smart Alerts: Warning Banner, Popup Alert, Block Confirm and Validation Rules on Any Record
by Viyug Infotech https://viyuginfotech.com$ 31.78
Warning banners, popup alerts and hard blocks on any record, without code
Rules decide when a quotation, invoice, delivery, contact or any other record shows a coloured warning, opens a popup message or blocks save or a button such as Confirm, Post or Validate. Managers can continue after giving a reason, and every override is logged.
Warning banner Popup alert Block confirm Validation rules Manager override Override log
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Before and after
For teams where a missed detail costs money: a customer over the credit limit, a bill paid twice, a delivery shipped without tracking.
Without Smart Alerts
- Warnings live in e-mails and sticky notes; new staff do not know them.
- A salesperson confirms an order for a customer with overdue invoices.
- Blocking a button needs a developer and a custom module per document.
- Nobody knows who approved an exception, or why.
With Smart Alerts
- The warning sits on top of the record, exactly when it matters.
- Confirm is blocked until a sales manager continues with a reason.
- Any button of any model can be blocked from a form, in minutes.
- Every override is logged with user, time, record and reason.
What it does
One rule screen, three actions, any document.
Coloured banner on the form
Info, warning or danger banner at the top of any form, with live values from the record: {{partner_id.name}}, {{amount_total}}, {{invoice_date_due}}.
Popup when a record opens
A popup message the moment a user opens a matching record, once per visit.
Popup when a field changes
Choose fields; when a user edits one of them and the record matches, a popup warns before saving (onchange alert), also for new records and order lines.
Block save
Saving a matching record from the form, the list or an import is refused with your message.
Block any button
Name the button method (action_confirm, action_post, button_validate...). The block runs before the method, from forms, lists and server actions.
Manager override with reason
Members of chosen groups may continue after typing a reason. The reason goes to the override log and to the chatter of the record.
Conditions without code
Domain editor plus conditions that compare a field with a value, with another field (price below cost) or with today plus or minus days.
Per company and per group
Each rule can apply to some companies and to some user groups only.
Ready-made templates
Credit limit, overdue invoices, vendor without bank account, below cost, delivery without tracking reference, missing VAT, duplicate vendor reference.
Matching records
One click lists the records a rule matches today, before you switch it on.
Fast and safe
Rules are cached per model; one request per form load. Records are evaluated with the rights of the user, never as superuser.
Light and dark mode
Banners, popups and dialogs use Odoo theme colours and read well in dark mode.
How it works
A rule answers three questions.
Which records?
A model (Sales Order, Journal Entry, Transfer, Contact...), a domain and optional conditions on related fields.
For whom?
All internal users or chosen groups; all companies or chosen ones.
What happens?
Banner, popup on open, popup on field change, block on save or on buttons, and who may continue with a reason.
Workflow walkthrough
From the rule to the blocked button and the logged override, with demo data.
1Start from ready-made rules
Open Smart Alerts and click Ready-made Rules. Templates for the apps you have installed are added, archived. Switch on the ones you want, or create your own rule.

2One rule: records, people, actions
Pick the model, filter the records with the domain editor, limit to groups or companies, write the message and choose banner, popup or block. Here: confirm is blocked for customers over the credit limit, sales managers may continue.

3Conditions without code
Compare a field with a value, another field or today. Two paths that start with the same line field compare the same line: unit price lower than product cost.

4Banner on the quotation
The quotation of a customer over the credit limit shows a red banner on top, with the customer name filled in from the record.

5Popup when the record opens
A customer with unpaid invoices past their due date: the popup appears as soon as the quotation is opened, and the banner stays on top.

6Popup while editing
A salesperson lowers a unit price below the product cost. The popup appears at once, before the quotation is saved.

7Hard block for the salesperson
Clicking Confirm runs the rule first. The salesperson is not in the override group, so the order stays a quotation.

8Managers continue with a reason
A sales manager gets the same block with a reason field. Continue anyway confirms the order.

9The reason is in the chatter
The override is posted as a note on the order: rule, reason, author and time, next to the confirmation.

10Override log
Every override in one list: date, user, rule, record, blocked action and reason. Filter and group by rule, user or model.

11Deliveries and other documents
The same rules work on any model. A delivery with a carrier but without tracking reference shows a banner, and Validate is blocked.

12Vendor bills
Odoo flags the duplicate reference; Smart Alerts adds a block on Post and a warning for a vendor without bank account.

13Contacts
Customers tagged Payment hold show a danger banner with the salesperson, and archiving them is blocked.

14Field against field
A delivery address in another country than its company: the condition compares country with parent country, no code needed.

15Check before you switch on
Show Matching Records lists what a rule matches today, so you know the impact before activating it.

Dark mode
Banners, popups and the block dialog follow the Odoo theme, in light and in dark mode.

Setup in 5 steps
Install Smart Alerts. Administrators get the Smart Alerts menu.
Click Ready-made Rules and switch on the templates you need.
Or create a rule: model, filter, message, banner / popup / block.
Choose the groups that may continue with a reason.
Open a matching record: the banner, popup or block is there.
Comparison
| Feature | This app | Typical alternatives |
|---|---|---|
| Banner on any form | Yes | Often |
| Popup when a record opens | Yes | Rare |
| Popup when a field changes | Yes, no code | Code per field |
| Block save | Yes | Code per model |
| Block any button (confirm, post, validate) | Yes, no code | One module per document |
| Override per group with a reason | Yes | Rare |
| Override log and chatter note | Yes | No |
| Field against field and today +/- days | Yes | Python code |
| Ready-made templates | 7 | No |
| Per company and per group | Yes | Partly |
| Rules cached, evaluated with user rights | Yes | Varies |
Questions
Does it change Odoo code or views?
No view is edited in the database. The banner is added when the form is loaded, and button blocks are attached when rules change, like Odoo automation rules.
Can a user see records through a rule?
No. Records and placeholders are read with the rights of the current user. Rule editing is for the Smart Alerts administrator group only.
Are internal processes blocked too?
Blocks apply to internal users. Automated processes running as superuser, portal and website flows are not blocked.
Does it work with Odoo warnings on partners and products?
Yes. Odoo own warnings keep working; the templates reuse Odoo checks such as the credit limit and duplicate bill reference.
Works well with
Other Viyug Infotech apps. Each one is optional.
Customer Credit Control
Credit limits, credit hold, risk score and exposure dashboard for customers.
View in the storeApproval Workflow Engine
Multi-level approvals with delegation and escalation for orders, bills and invoices.
View in the storeAccess Management
Access rights per user or group: hide menus, fields, buttons and tabs, read-only users and record access.
View in the storeNeed a hand?
Questions about a rule, a button to block or a special case? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1202 |
| Technical Name |
viyug_smart_alerts |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
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