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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
970
Vistas
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.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
user creation
Resuelto
|
|
1
jun 21
|
2476 | |
|
2
mar 18
|
7477 | ||
|
3
dic 24
|
13044 | ||
Disable new user sign-up
Resuelto
|
|
11
ago 24
|
11732 | |
|
1
jul 24
|
1599 |