Skip to Content
Menu
This question has been flagged
1 Reply
946 Views

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

Avatar
Discard
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
Discard
Related Posts Replies Views Activity
1
Jun 25
1872
3
Jul 25
3481
1
May 25
1605
1
May 25
1850
4
May 25
2963