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
2163 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
6822
0
srp 17
2900
2
dub 24
4001
0
lis 20
2156
0
říj 20
2525