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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
1069
Tampilan
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
user creation
Diselesaikan
|
|
1
Jun 21
|
2579 | |
|
2
Mar 18
|
7674 | ||
|
3
Des 24
|
13229 | ||
Disable new user sign-up
Diselesaikan
|
|
11
Agu 24
|
12243 | |
|
1
Jul 24
|
1777 |