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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
2
Respuestas
8015
Vistas
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..
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jun 23
|
1367 | ||
|
1
may 23
|
1275 | ||
|
1
oct 22
|
3436 | ||
|
0
may 20
|
2724 | ||
|
1
mar 15
|
5785 |