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.
Această întrebare a fost marcată
1
Răspunde
2286
Vizualizări
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.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
user creation
Rezolvat
|
|
1
iun. 21
|
3953 | |
|
|
2
mar. 18
|
9571 | ||
|
|
3
dec. 24
|
15516 | ||
|
Disable new user sign-up
Rezolvat
|
|
11
aug. 24
|
15965 | |
|
|
1
iul. 24
|
3221 |