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

[V8] How to Implement Grouping Feature in the Odoo Front End Website?

By
Wilbert Tan
on 6/22/16, 12:48 AM 280 views

Hi guys,

Is there a way to implement the grouping feature that Odoo has to the front end website ?

Please help.


Regards,

What I mean is the group by rows in the table ( so it's collapsing feature etc )

Wilbert Tan
on 6/22/16, 2:41 AM
-1
Juan Vicente Pascual
On 6/22/16, 6:32 AM

you have to create a view record, inheriting the search view you want to add.

In that record just put,

<xpath expr="/search/group/filter[@string='THE_STRING_OF_EXISTING_GROUP_BY_FILTER']" position="after">

<filter string="YOUR_FILTER_NAME" domain="[]" context="{'group_by':'YOUR_FIELD_TO_GROUP_BY'}"/>

</xpath>

Hi Juan,

I think my question is quite misleading.

Your answer is for the backend site.

What I mean is, how to implement the grouping feature for the website module ?

Regards,

Wilbert Tan
on 6/23/16, 9:45 PM

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: 6/22/16, 12:48 AM
Seen: 280 times
Last updated: 6/22/16, 6:32 AM