Am looking for a way to get data based on id example I want to get data starting from id 10 to 302, or 534 to 760.
If I ran the code below it will give me a time out if I have a lot of data, how can I set the start and end point of getting data?
User = odoo.env['res.partner']
ids = User.search([])
for rec in User.browse(ids):
print(rec.name)
Hello,
Am looking for a way to get data based on
id
example I want to get data starting fromid
10 to 302, or 534 to 760. If I ran the code below it will give me a time out if I have a lot of data, how can I set the start and end point of getting data?