İçereği Atla
Menü
Bu soru işaretlendi
5 Cevaplar
2529 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
6
Kas 24
7542
0
May 25
2247
1
Tem 23
6570
7
Mar 20
10473
1
Ağu 16
3950