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

add a context {group_by} in a tree view

By
daouda
on 5/29/13, 6:03 PM 1,039 views

Hi, everybody is it possible to add a group_by context in a tree view? if yes how we do it? Thanks

0

Davide Corio

--Davide Corio--
1822
| 4 3 7
Bricherasio, Italy
--Davide Corio--

Odoo Evangelist and Consultant

Davide Corio
On 5/29/13, 6:22 PM

group_by can be used in search views only. cannot work in tree views.

you need to place something like:

<filter string="City" context="{'group_by': 'city'}"/>

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

0 follower(s)

Stats

Asked: 5/29/13, 6:03 PM
Seen: 1039 times
Last updated: 3/16/15, 8:10 AM