Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
1014 Vistas

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
Mejor respuesta

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

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
Publicaciones relacionadas Respuestas Vistas Actividad
6
nov 24
6813
0
oct 23
1540
1
jul 23
5415
7
mar 20
9408
1
ago 16
3411