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
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
935
ビュー
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
|
1843 | ||
|
3
7月 25
|
3462 | ||
|
1
5月 25
|
1587 | ||
|
1
5月 25
|
1836 | ||
|
4
5月 25
|
2948 |