Skip to Content
Menu
This question has been flagged
890 Views

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"]
    }
Avatar
Discard
Related Posts Replies Views Activity
3
Mar 25
2310
0
Mar 25
1048
4
Jan 25
2011
1
Nov 24
2068
3
Sep 24
6953