Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8649 Vizualizări

While validating some fields in js i need to show sticky Waring messages ,How it can be done ?  

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează

how we can send them from python ?

Autor Cel mai bun răspuns

Thanks a lot for the quick response , and it works..

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 23
1922
1
mai 23
1865
1
oct. 22
4018
0
mai 20
3111
1
mar. 15
6196