Odoo Help

0

add a context {group_by} in a tree view

By
daouda
on 5/29/13, 6:03 PM 1,339 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--
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'}"/>

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: 1339 times
Last updated: 3/16/15, 8:10 AM