跳至內容
選單
此問題已被標幟
1 回覆
919 瀏覽次數

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
1784
3
7月 25
3387
1
5月 25
1536
1
5月 25
1793
4
5月 25
2919