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
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
2
الردود
7922
أدوات العرض
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
يونيو 23
|
1323 | ||
|
1
مايو 23
|
1201 | ||
|
1
أكتوبر 22
|
3363 | ||
|
0
مايو 20
|
2696 | ||
|
1
مارس 15
|
5731 |