Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1077 Prikazi

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.

Avatar
Opusti
Best Answer

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.

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jun. 21
2657
2
mar. 18
7715
3
dec. 24
13258
11
avg. 24
12355
1
jul. 24
1807