Skip to Content
Menu
This question has been flagged
1 Odpoveď
930 Zobrazenia

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

Avatar
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
jún 25
1809
3
júl 25
3404
1
máj 25
1546
1
máj 25
1812
4
máj 25
2929