Skip to Content
Menu
This question has been flagged
547 Rodiniai

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"]
    }
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
kov. 25
1567
0
kov. 25
527
4
saus. 25
1353
1
lapkr. 24
1537
3
rugs. 24
5220