Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
888 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź
return { 
'type' : 'ir.actions.client' ,
'tag' : 'display_notification' ,
'params' : {
'title' : 'Warning' ,
'message' : 'message_content' ,
'type' : 'warning' ,
'sticky' : False ,
} ,
}
Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
6
lis 24
6772
0
paź 23
1487
1
lip 23
5260
7
mar 20
9334
1
sie 16
3376