Skip to Content
Menú
This question has been flagged
3 Respostes
1970 Vistes

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
Descartar
Best Answer

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
Descartar
Best Answer
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Descartar
Autor Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
6
de nov. 24
7334
0
de maig 25
2042
1
de jul. 23
6178
7
de març 20
10105
1
d’ag. 16
3718