Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
878 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Meilleure réponse
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Ignorer
Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
6
nov. 24
6770
0
oct. 23
1483
1
juil. 23
5258
7
mars 20
9330
1
août 16
3376