I have 9800 records but when querying a table I only get the first page of 5000 records from API. It seems like pagination is not working. Is there any any particular property you should configure for your account so you can get pagination working--or should it work by default?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
2249
Vistes
Hello,
Offset and limit parameters are available to only retrieve a subset of all matched records.
For example:
model_ids = self.env[model_name].search([], offset=10, limit=10)
Hope it helps
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
1
de març 23
|
5643 | ||
|
0
de nov. 23
|
1369 | ||
|
0
de març 25
|
1476 | ||
|
1
d’oct. 23
|
1571 | ||
|
2
de nov. 22
|
3634 |