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

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
7069
0
8月 17
3152
2
4月 24
4315
0
11月 20
2330
0
10月 20
2736