Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
943 Näkymät

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
kesäk. 25
1859
3
heinäk. 25
3476
1
toukok. 25
1601
1
toukok. 25
1843
4
toukok. 25
2952