تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2534 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 22
2900
0
نوفمبر 19
3876
1
فبراير 25
1045
4
أكتوبر 23
2738
1
سبتمبر 23
2291