Need to make a field "Readonly" for perticular user group all other fields of the object should be editable.
i had used "groups='[group_name]'" to make visible for the perticular user group,
but how to make readonly
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Need to make a field "Readonly" for perticular user group all other fields of the object should be editable.
i had used "groups='[group_name]'" to make visible for the perticular user group,
but how to make readonly
Hi, you can use this in your py file field...
'name': fields.char('Name', size=128, read=['base.group_userA'], write=['base.group_userB'] )
Read will allow the user group to view and Write will allow the user group to edit the field..
More here
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia