Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2549 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 22
2910
0
thg 11 19
3899
1
thg 2 25
1057
4
thg 10 23
2740
1
thg 9 23
2291