Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
8204 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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..

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 23
1503
1
трав. 23
1444
1
жовт. 22
3578
0
трав. 20
2835
1
бер. 15
5841