While validating some fields in js i need to show sticky Waring messages ,How it can be done ?
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
11208
มุมมอง
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
|
4016 | ||
|
|
1
พ.ค. 23
|
3877 | ||
|
|
1
ต.ค. 22
|
6294 | ||
|
|
0
พ.ค. 20
|
4682 | ||
|
|
1
มี.ค. 15
|
8155 |