Skip to Content
Menu
This question has been flagged
1 Reply
493 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
2
Dec 24
3132
1
Dec 24
354
4
Nov 24
1366
1
Sep 24
1137
1
Sep 24
1203