コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
935 ビュー

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
1843
3
7月 25
3462
1
5月 25
1587
1
5月 25
1836
4
5月 25
2948