Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
912 Visninger

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

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
jun. 25
1778
3
jul. 25
3382
1
maj 25
1530
1
maj 25
1789
4
maj 25
2919