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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
2251
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Mar 23
|
5644 | ||
|
0
Nov 23
|
1370 | ||
|
0
Mar 25
|
1478 | ||
|
1
Okt 23
|
1573 | ||
Set default page when installing new module
Diselesaikan
|
|
2
Nov 22
|
3634 |