Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1154 มุมมอง

With odoo 17 jsonrpc default api, is there a way to get directly nested field content on odoo like many2many, many2one or one2many in a single read call :

{
  "jsonrpc": "2.0",
  "params": {
    "model": "car.rental.contract",
    "method": "read",
    "args": [[7]],
    "kwargs": {}
  }
}

for this example I want to do something like this instead of just id or name:

    "kwargs": {
      "fields": ["customer_id__email"]
    }
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 25
2739
0
มี.ค. 25
1280
4
ม.ค. 25
2267
1
พ.ย. 24
2363
3
ก.ย. 24
8042