コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1230 ビュー

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
2810
2
3月 18
7990
3
12月 24
13496
11
8月 24
12975
1
7月 24
1973