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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
2238
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
mar 23
|
5633 | ||
|
0
nov 23
|
1354 | ||
|
0
mar 25
|
1453 | ||
|
1
oct 23
|
1560 | ||
|
2
nov 22
|
3619 |