Skip to Content
Menu
This question has been flagged
5 Replies
2438 Rodiniai

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

Portretas
Atmesti
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

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
6
lapkr. 24
7509
0
geg. 25
2205
1
liep. 23
6486
7
kov. 20
10390
1
rugp. 16
3902