Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1966 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Zrušit
Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
6
lis 24
7333
0
kvě 25
2041
1
čvc 23
6178
7
bře 20
10103
1
srp 16
3718