While validating some fields in js i need to show sticky Waring messages ,How it can be done ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Účetnictví
- Sklad
- PoS
- Project
- MRP
This question has been flagged
2
Odpovědi
8245
Zobrazení
Hi,
1.Notification
do_notify(title, message, sticky, className):
eg:
this.do_notify("Success", "Your Message has been send successfully...");
2.Warning
do_warn(title, message, sticky, className):
eg:
this.do_warn("Error","Please Check the values before save");
title : Title of notification
message : Message to display
sticky : boolean value (optional) if true user must dismiss notification
className : CSS class (optional)
Similar forum post how call odoo warning from javascript?
Regards
how we can send them from python ?
Thanks a lot for the quick response , and it works..
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit seRelated Posts | Odpovědi | Zobrazení | Aktivita | |
---|---|---|---|---|
|
1
čvn 23
|
1536 | ||
|
1
kvě 23
|
1480 | ||
|
1
říj 22
|
3657 | ||
|
0
kvě 20
|
2871 | ||
|
1
bře 15
|
5863 |