Skip to Content
मेन्यू
This question has been flagged
1192 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
मार्च 25
2822
0
मार्च 25
1362
4
जन॰ 25
2339
1
नव॰ 24
2435
3
सित॰ 24
8351