I have a many2many field defined on model "ir.model.fields" set in configuration screen. Where manager can select fields that should be editable by user.
Now , my complete form is readonly but I want to make only that fields editable which are selected in configuration. In short, a user can edit only that fields that are allowed to edit.
How to use this condition in Odoo16 ?
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
Hello Manoj Yadav,
I believe that you should go with 'access rights'. Because Odoo's orm methods automatically check access rights of user and if you'll go with this custom approach then it will consume to much time, resources and research. and then also you always need to manually check the access of fields from back-end.
Here, I'm providing you a Odoo's documentation for your reference.
https://www.odoo.com/documentation/16.0/applications/general/users/access_rights.html?highlight=group
I hope this will help you.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
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ść | |
---|---|---|---|---|
|
2
cze 23
|
4724 | ||
|
1
maj 24
|
2016 | ||
|
1
kwi 24
|
1885 | ||
|
1
lut 24
|
2660 | ||
|
0
lut 24
|
10 |