İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
924 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 25
1786
3
Tem 25
3390
1
May 25
1540
1
May 25
1797
4
May 25
2920