Skip to Content
Menú
This question has been flagged
550 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
3
de març 25
1568
0
de març 25
528
4
de gen. 25
1354
1
de nov. 24
1537
3
de set. 24
5222