Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
949 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 25
1876
3
iul. 25
3482
1
mai 25
1605
1
mai 25
1853
4
mai 25
2965