how to send conversation notification to user when my product quantity is zero
Câu hỏi này đã bị gắn cờ
1
Trả lời
4105
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
|
1
thg 12 22
|
4701 | ||
|
|
0
thg 11 19
|
5842 | ||
|
|
1
thg 4 26
|
4635 | ||
|
|
0
thg 3 26
|
4291 | ||
|
|
1
thg 3 26
|
2932 |