Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5 Risposte
2449 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
6
nov 24
7510
0
mag 25
2207
1
lug 23
6490
7
mar 20
10400
1
ago 16
3904