Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8006 Visualizzazioni

When looking at Leads in the Kanban view, I only see a subset of stages.

If there is at least one lead in a stage, I can see the stage.  If there are no leads in a stage, I cannot see that stage.

I want to see all stages, even if they contain no leads, so I can drag a lead to ANY stage, rather than opening it at setting it from the Form view.

Avatar
Abbandona
Autore Risposta migliore

The _read_group_stage_ids method of crm_lead decides which stages to make visible in the Kanban.

You need to override this method in your own module, removing the lines that specify to search for only the stages that match the current list of leads:

def _read_group_stage_ids(...)

....

if team_id: search_domain += ['|', ('team_ids', '=', team_id)]
search_domain += [('id', 'in', ids)] # <--- remove this line
else:
search_domain += [('id', 'in', ids)] # <--- replace this line with pass
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 24
1965
1
gen 24
1980
7
ago 25
28313
1
ago 24
2717
0
giu 22
3047