Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
538 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
3
bře 25
1562
0
bře 25
526
4
led 25
1349
1
lis 24
1532
3
zář 24
5213