Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2568 Zobrazení

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?
Avatar
Zrušit
Autor Nejlepší odpověď

order.message_subscribe([partner_id])
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 20
7239
0
srp 17
3310
2
dub 24
4531
0
lis 20
2440
0
říj 20
2864