Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1137 Lượt xem

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"]
    }
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 25
2723
0
thg 3 25
1273
4
thg 1 25
2258
1
thg 11 24
2350
3
thg 9 24
7999