Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5161 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar

I tried this, but had no luck.

Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3223
4
ago 25
2894
1
ene 25
3993
4
feb 24
12779
4
dic 22
9503