Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
950 Vues

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

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
juin 25
1876
3
juil. 25
3483
1
mai 25
1608
1
mai 25
1855
4
mai 25
2966