Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
931 Vistas

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

Avatar
Descartar
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
jun 25
1828
3
jul 25
3432
1
may 25
1558
1
may 25
1823
4
may 25
2939