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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
919
瀏覽次數
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])
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
6月 25
|
1784 | ||
|
3
7月 25
|
3387 | ||
|
1
5月 25
|
1536 | ||
|
1
5月 25
|
1793 | ||
|
4
5月 25
|
2919 |