Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
942 Prikazi

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

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



Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 25
1856
3
jul. 25
3476
1
maj 25
1599
1
maj 25
1843
4
maj 25
2952