Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1076 Vizualizări

I wanted to hide products from all customer. But the one who has specific tag added to them can access products and buy them.

What would be the best approach to move forward with it.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Terry Arsenault,

You need to add many2many field in res.users model with relation of your tags.

And then inside this both model product.template and product.product Overide search_read orm method and based handle condition look like this way.

Thanks.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iun. 21
2657
2
mar. 18
7713
3
dec. 24
13258
11
aug. 24
12349
1
iul. 24
1807