how to send conversation notification to user when my product quantity is zero
此问题已终结
1
回复
4113
查看
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
12月 22
|
4703 | ||
|
|
0
11月 19
|
5843 | ||
|
|
1
4月 26
|
4641 | ||
|
|
0
3月 26
|
4297 | ||
|
|
1
3月 26
|
2932 |