Is there any why to set limit and offset arguments in:
{
"params": {
"args": [
"odoo_db", "2", "a", "res.partner", "search", [], []
],
"method": "execute",
"service": "object"
},
}
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Is there any why to set limit and offset arguments in:
{
"params": {
"args": [
"odoo_db", "2", "a", "res.partner", "search", [], []
],
"method": "execute",
"service": "object"
},
}
it depends on which library are you using as RPC Client how it's implemented extra args and kwargs
for python, it's work like
models = xmlrpc.client.ServerProxy('http://localhost:8069/xmlrpc/2/object')
res = models.execute_kw(db, uid, password, 'res.partner', 'search', [[]], {'limit':5, 'offset': 5})
so maybe it's should be like
"args": [
"odoo_db", "2", "a", "res.partner", "search", [[]], {'limit':5, 'offset': 5})
],
How can I put a range in this same query you describe?
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 2 25
|
1733 | ||
|
2
thg 4 22
|
21236 | ||
|
1
thg 5 21
|
5335 | ||
|
0
thg 10 20
|
4831 | ||
|
5
thg 5 25
|
33904 |
XML-RPC in odoo: http://learnopenerp.blogspot.com/2019/10/connecting-to-odoo-using-xml-rpc.html