Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
9102 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit

how we can send them from python ?

Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvn 23
2326
1
kvě 23
2264
1
říj 22
4432
0
kvě 20
3375
1
bře 15
6643