Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

I currently have this setup:

_inherit = 'crm.lead'

prnt_id = fields.Many2one('crm.lead')

chld_ids = fields.One2many('crm.lead', 'prnt_id')


I want to be able to search all related leads of a lead, recursively. I think I can do these by creating a computed many2many field that computes all related leads of a lead. Can someone help me with the "algorithm" to get all related leads? Thank you!


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jun 17
6351
0
Apr 16
4007
0
Mar 24
876
1
Jun 25
15638
3
Apr 25
5935