How to only show product of selected category and not the products of the child category?
example :
cat1 with subcat 2 and subcat3
when i click on cat1 i only want to see these products and not the products of subcat2 and subcat3.
thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How to only show product of selected category and not the products of the child category?
example :
cat1 with subcat 2 and subcat3
when i click on cat1 i only want to see these products and not the products of subcat2 and subcat3.
thanks
You can change the domain:
Currently it is using this domain :
[('public_categ_ids', 'child_of', int(category))]You have to use :[('public_categ_ids', '=', int(category))]Hello thanks for your quick answer.
i am relative new to the odoo scene.
i use odoo online. i dont know where i have to change the code. Can you help?
Thanks
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
2
lis 23
|
3542 | |||
|
0
lip 21
|
2606 | |||
|
3
sie 15
|
6890 | |||
|
1
mar 15
|
5727 | |||
|
1
sty 25
|
2682 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hello thanks for your quick answer.
i am relative new to the odoo scene.
i use odoo online. i dont know where i have to change the code. Can you help?
Thanks