İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2560 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 22
2922
0
Kas 19
3919
1
Şub 25
1071
4
Eki 23
2751
1
Eyl 23
2301