Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2572 Vizualizări

how to send conversation notification to user when my product quantity is zero

Imagine profil
Abandonează
Cel mai bun răspuns

Hello Lazark,

You can use message_post() method to show notifications when user change quantity to 0 in write method. In message_post method you can add partners who are going to notified, you can add your message as well.

e.g.

record.message_post(body=body, partner_ids= record.partner_id.ids)

Hope it will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 22
2940
0
nov. 19
3939
1
feb. 25
1086
4
oct. 23
2779
1
sept. 23
2312