Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3123 Представления

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. 

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
янв. 22
2409
0
июн. 17
2852
1
янв. 24
3407
3
окт. 23
5988
1
июл. 23
3457