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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
3094
瀏覽次數
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
1月 22
|
2399 | ||
|
0
6月 17
|
2814 | ||
|
1
1月 24
|
3354 | ||
|
3
10月 23
|
5962 | ||
|
1
7月 23
|
3409 |