Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3922 Weergaven

Hi guys,

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

Please help.


Regards,

Avatar
Annuleer
Auteur

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

Beste antwoord

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>

Avatar
Annuleer
Auteur

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,

Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 15
12112
2
aug. 23
278
0
mrt. 23
207
1
mrt. 22
2473
0
jun. 17
3864