Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3002 Prikazi

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

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
dec. 22
3421
0
nov. 19
4415
1
feb. 25
1511
4
okt. 23
3490
1
sep. 23
2656