Odoo Help

0

add a context {group_by} in a tree view

By
daouda
on 5/29/13, 6:03 PM 1,176 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--
Davide Corio
1852
| 5 4 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 platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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