تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
2431 أدوات العرض

hello.

I create my custome module and iwant when the the invoice was created from my module send a push notification to user how 

display notification work

الصورة الرمزية
إهمال
أفضل إجابة

Hello , 

Here is an example of sending a push notification when a button is clicked—just update your parameters accordingly.


https://www.odoo.com/fr_FR/forum/aide-1/specific-odoo-notification-270643#answer-270648

الصورة الرمزية
إهمال
أفضل إجابة
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
الصورة الرمزية
إهمال
الكاتب أفضل إجابة

I dont want to send it like message i want a pop up notifiction like notify message that appeare in right corner wirh yellow color

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
6
نوفمبر 24
7508
0
مايو 25
2201
1
يوليو 23
6479
7
مارس 20
10388
1
أغسطس 16
3899