跳至內容
選單
此問題已被標幟
569 瀏覽次數

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"]
    }
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
3月 25
1598
0
3月 25
549
4
1月 25
1370
1
11月 24
1552
3
9月 24
5320