Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1075 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
user creation Решено
1
июн. 21
2654
2
мар. 18
7711
3
дек. 24
13254
11
авг. 24
12331
1
июл. 24
1806