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
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
1
Antworten
910
Ansichten
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])
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Juni 25
|
1778 | ||
|
3
Juli 25
|
3382 | ||
|
1
Mai 25
|
1530 | ||
|
1
Mai 25
|
1789 | ||
|
4
Mai 25
|
2919 |