In Sale, While confirming sale order, the customer is added as follower automatically. Kindly help me to restrict it in Odoo 15.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
911
Lượt xem
Hello Sakthi Priya,
You need to remove the below code from the def action_confirm method of sale order to stop the customer added to the follower.
for order in self.filtered(lambda order: order.partner_id not in order.message_partner_ids):
order.message_subscribe([order.partner_id.id])
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 6 25
|
1778 | ||
|
3
thg 7 25
|
3382 | ||
|
1
thg 5 25
|
1530 | ||
|
1
thg 5 25
|
1789 | ||
|
4
thg 5 25
|
2919 |