Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
948 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
giu 25
1876
3
lug 25
3482
1
mag 25
1605
1
mag 25
1853
4
mag 25
2965