Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1580 มุมมอง

I can fetch the active leads by xml rpc service, but not the archived leads.


is there a way to fetch the archived leads?

อวตาร
ละทิ้ง
ผู้เขียน

Thank you very much. This worked

คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง