I can fetch the active leads by xml rpc service, but not the archived leads.
is there a way to fetch the archived leads?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I can fetch the active leads by xml rpc service, but not the archived leads.
is there a way to fetch the archived leads?
Hi,
In order to get inactive records, pass active=False in the search domain. If you need to get active and inactive simultaneously, pass active =True or active = False in search domain.
Sample:
models.execute_kw(db, uid, password, 'crm.lead', 'search', [[['active', '=', False]]])
Odoo XMLRPC: https://www.youtube.com/watch?v=isjhwKAL63M
Thanks
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký
Thank you very much. This worked