I am working with res.partner object in customer form view in sale module
category_id use many2many field in customer form view.
Based on the user I have to hide the create new category record in ODOO or OpenERP.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Based on conditiion in xml using attrs tag to hide field in form view or create a function field that returns a value based on the user's group and xml hide field based on function field value.
https://answers.launchpad.net/openobject-server/+question/178779
i wants to hide for restrict based on user for create the new record in many2many or many2one filed in openERP hear many2many and many2one field is relation and create new record which is already part of openerp framework. i don't want to hide whole the filed in openerp but put the restriction for creation based on the user access
You can restrict many2one field based on the user group using settings access right many2one table set read permission only.
can u elaborate more with one example ??
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
How to increase the security of Odoo ?
Rozwiązane
|
|
2
wrz 23
|
26693 | |
|
0
mar 15
|
4207 | ||
|
0
mar 15
|
3620 | ||
|
1
mar 15
|
3856 | ||
Hide a field based on user groups?
Rozwiązane
|
|
4
cze 20
|
18826 |