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.
Dette spørgsmål er blevet anmeldt
1
Svar
2304
Visninger
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.
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!
Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!
Tilmeld dig| Relaterede indlæg | Besvarelser | Visninger | Aktivitet | |
|---|---|---|---|---|
|
user creation
Løst
|
|
1
jun. 21
|
3974 | |
|
|
2
mar. 18
|
9605 | ||
|
|
3
dec. 24
|
15548 | ||
|
|
11
aug. 24
|
15997 | ||
|
|
1
jul. 24
|
3268 |