Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2524 Tampilan

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 22
2895
0
Nov 19
3867
1
Feb 25
1038
4
Okt 23
2737
1
Sep 23
2290