Skip to Content
Menu
This question has been flagged
1 Atsakyti
908 Rodiniai

In Sale, While confirming sale order, the customer is added as follower automatically. Kindly help me to restrict it in Odoo 15.

Portretas
Atmesti
Best Answer

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])



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
birž. 25
1778
3
liep. 25
3382
1
geg. 25
1530
1
geg. 25
1789
4
geg. 25
2919