Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
921 Представления

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
1785
3
июл. 25
3388
1
мая 25
1537
1
мая 25
1793
4
мая 25
2919