Skip to Content
Menú
This question has been flagged
1 Respondre
937 Vistes

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

Avatar
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de juny 25
1848
3
de jul. 25
3469
1
de maig 25
1591
1
de maig 25
1837
4
de maig 25
2948