Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
907 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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])



Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
cze 25
1778
3
lip 25
3382
1
maj 25
1530
1
maj 25
1789
4
maj 25
2919