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

I am creating a sale order records and I want the 'message_partner_ids' field to be a specific ID.
I tried both of below codes but its no use:

'message_partner_ids': [(0, 0, {'id': partner_id})]

and

'message_partner_ids': [(4  ,partner_id)]

anyone can help?
頭像
捨棄
作者 最佳答案

order.message_subscribe([partner_id])
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 20
6815
0
8月 17
2892
2
4月 24
3998
0
11月 20
2153
0
10月 20
2514