Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
947 Visualizações

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jun. 25
1876
3
jul. 25
3482
1
mai. 25
1605
1
mai. 25
1853
4
mai. 25
2965