Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How can I show ALL lead stages in the Kanban view?

By
Ray Carnes
on 10/9/15, 8:35 PM 1,004 views

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.

0

Ray Carnes

--Ray Carnes--
15717
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0 and Odoo 8.0, 9.0 (Since 2012)

Completed Functional and Technical Training.

Major Skills:

  • Needs Discovery and Requirements Analysis;

  • Function and Technical Specifications;

  • Project Planning;

  • Prototyping and Proof of concepts;

  • Data migration;

  • Configuration & Customization (UI and modules);

  • Integration - data, business logic and service levels;

  • Training and Knowledge transfer;

  • Go Live support;

  • Help desk;

  • Version Migration.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

Ray Carnes
On 10/9/15, 8:40 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/9/15, 8:35 PM
Seen: 1004 times
Last updated: 10/9/15, 8:40 PM