İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
944 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
1867
3
Tem 25
3478
1
May 25
1605
1
May 25
1848
4
May 25
2958