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

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
2099
0
3月 25
889
4
1月 25
1867
1
11月 24
1926
3
9月 24
6548