Skip to Content
Menú
This question has been flagged
1 Respondre
2537 Vistes

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

Avatar
Descartar
Best Answer

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 22
2900
0
de nov. 19
3877
1
de febr. 25
1047
4
d’oct. 23
2738
1
de set. 23
2291