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:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
3107
화면
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
|
2816 | ||
|
1
1월 24
|
3359 | ||
|
3
10월 23
|
5963 | ||
|
1
7월 23
|
3414 |