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.
Bu soru işaretlendi
1
Cevapla
2277
Görünümler
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.
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
user creation
Çözüldü
|
|
1
Haz 21
|
3941 | |
|
|
2
Mar 18
|
9563 | ||
|
|
3
Ara 24
|
15514 | ||
|
Disable new user sign-up
Çözüldü
|
|
11
Ağu 24
|
15952 | |
|
|
1
Tem 24
|
3213 |