Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
917 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
mar. 25
2348
0
mar. 25
1069
4
jan. 25
2043
1
nov. 24
2097
3
sep. 24
7041