Skip to Content
Menu
This question has been flagged
1 Reply
1183 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
Jun 21
2747
2
Mar 18
7890
3
Dec 24
13416
11
Aug 24
12798
1
Jul 24
1911