跳至内容
菜单
此问题已终结
1 回复
1167 查看

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.

形象
丢弃
最佳答案

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.

形象
丢弃
相关帖文 回复 查看 活动
user creation 已解决
1
6月 21
2736
2
3月 18
7846
3
12月 24
13376
11
8月 24
12720
1
7月 24
1900