Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
913 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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



Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
черв. 25
1780
3
лип. 25
3384
1
трав. 25
1532
1
трав. 25
1790
4
трав. 25
2919