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

Is it possible to control which columns are folded in a kanban view from the context?

By
Alexandre Fayolle - Camptocamp
on 9/12/14, 3:03 AM 1,362 views

I have a custom filter for crm.lead, which I use on the kanban view. Is there a key I can add to the context to override which columns are folded / unfolded by default?

0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 9/15/14, 4:50 AM

Yes you can...

You can change the fold property dynamically, in py method in which the kanban action is triggered...

Example: In case of CRM

_group_by_full = { 'stage_id': _read_group_stage_ids }

So  in "_read_group_stage_ids" method, you can make your changes...

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: 9/12/14, 3:03 AM
Seen: 1362 times
Last updated: 3/16/15, 8:10 AM