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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
493
Views
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])
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 24
|
3132 | ||
|
1
Dec 24
|
354 | ||
|
4
Nov 24
|
1366 | ||
|
1
Sep 24
|
1137 | ||
|
1
Sep 24
|
1203 |