Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5221 Weergaven

This is the same question like here but for the filter.

I want to create a sale report filter that show all product from a category "PACK" and all sub-categories "PACK/Hôtel" or "PACK/Restaurant".

How can I tell to filter function to do this?

Avatar
Annuleer
Auteur Beste antwoord

I've created a filter with child_of operator:

<filter string="Pack" domain="[('categ_id','child_of',5)]"/>

Where 5 is the "Pack" id.

Avatar
Annuleer

I tried this, but had no luck.

Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 15
3313
4
aug. 25
3096
1
jan. 25
4178
4
feb. 24
12878
4
dec. 22
9636