Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1190 Переглядів

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
2768
2
бер. 18
7938
3
груд. 24
13451
11
серп. 24
12875
1
лип. 24
1939