Is there any why to set limit and offset arguments in:
{
"params": {
"args": [
"odoo_db", "2", "a", "res.partner", "search", [], []
],
"method": "execute",
"service": "object"
},
}
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})
],
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
1
Feb 26
|
4638 | |||
|
2
Apr 22
|
23377 | |||
|
1
May 21
|
6926 | |||
|
0
Oct 20
|
7105 | |||
|
5
May 25
|
38678 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
XML-RPC in odoo: http://learnopenerp.blogspot.com/2019/10/connecting-to-odoo-using-xml-rpc.html