Skip to Content
Menu
This question has been flagged
1016 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
mar 25
2508
0
mar 25
1149
4
jan 25
2128
1
nov 24
2201
3
sep 24
7441