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
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
1
Beantwoorden
2250
Weergaven
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
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
1
mrt. 23
|
5644 | ||
|
0
nov. 23
|
1370 | ||
|
0
mrt. 25
|
1477 | ||
|
1
okt. 23
|
1573 | ||
|
2
nov. 22
|
3634 |