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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
2
回覆
9759
瀏覽次數
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..
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
1
6月 23
|
2857 | ||
|
|
1
5月 23
|
2814 | ||
|
|
1
10月 22
|
5001 | ||
|
|
0
5月 20
|
3846 | ||
|
|
1
3月 15
|
7147 |