Skip to Content
Menu
This question has been flagged
1 Reply
1487 Views

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

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
1
Dec 22
1626
0
Nov 19
2925
4
Oct 23
1274
1
Sep 23
1012
0
Feb 23
875