how to send conversation notification to user when my product quantity is zero
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
2553
瀏覽次數
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
|
2914 | ||
|
0
11月 19
|
3904 | ||
|
1
2月 25
|
1061 | ||
|
4
10月 23
|
2742 | ||
|
1
9月 23
|
2295 |