Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
5 Respostas
2314 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Melhor resposta
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Avatar
Cancelar
Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
6
nov. 24
7445
0
mai. 25
2149
1
jul. 23
6362
7
mar. 20
10274
1
ago. 16
3807