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
3108 Zobrazení

How can i access field values in another server using odoo 10 xml rpc other than just ids only? I want to access certain field value like name to manipulate it to be use for conditions in a method or function. Thank you very much in advance. 

Avatar
Zrušit
Nejlepší odpověď

Hi,

Once you get the is of the record, use read method to read the data from the record.

See this sample:

sol = models.execute_kw(db, uid, password,'sale.order.line', 'read', [pro], {'fields': ['product_id']})


To know more, see: https://www.youtube.com/watch?v=isjhwKAL63M

Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
led 22
2399
0
čvn 17
2828
1
led 24
3359
3
říj 23
5965
1
čvc 23
3414