跳至内容
菜单
此问题已终结
678 查看

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
1933
0
3月 25
780
4
1月 25
1726
1
11月 24
1798
3
9月 24
5918