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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
2992
Görünümler
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Oca 22
|
2300 | ||
|
0
Haz 17
|
2689 | ||
|
1
Oca 24
|
2958 | ||
|
3
Eki 23
|
5671 | ||
|
1
Tem 23
|
3148 |