跳至内容
菜单
此问题已终结
1 回复
906 查看

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



形象
丢弃
相关帖文 回复 查看 活动
1
6月 25
1777
3
7月 25
3381
1
5月 25
1529
1
5月 25
1787
4
5月 25
2919