Odoo Help

0

How can I filter on product NOT child of a category?

By
Bonnet Denis
on 7/3/13, 10:40 AM 3,379 views

I want to filter on ALL product that are in a category that are not a child of a category.

example : I have 6 categories: A , A/B, A/B/C, A/D, A/D/E. I want all product not in A/B category and sub-categories(like A/B/C). In clear I want A, A/D and A/D/E.

In this example I can list all the categories I want but in fact I've too much categories to list them.

How can I do?

0

Bonnet Denis

--Bonnet Denis--
927
| 5 6 8
St avé, France
--Bonnet Denis--

CEO/ODOO expert at Talyes.in

Bonnet Denis
On 7/3/13, 11:41 AM

Sorry, I forgot the '!' domain operator , I use domain="['!',('categ_id','child_of',[5,25,37])]".

I've to read the doc before posting.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 7/3/13, 10:40 AM
Seen: 3379 times
Last updated: 3/16/15, 8:10 AM