Skip to Content
Menu
This question has been flagged
3 Replies
1251 Views

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
Discard
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
Discard
Best Answer
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Discard
Author 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
Discard
Related Posts Replies Views Activity
6
Nov 24
6999
0
May 25
1717
1
Jul 23
5596
7
Mar 20
9612
1
Aug 16
3513