In o2m field, I like to disable new and delete buttons, but not edit current records.
Is it possible without define a read/delete access rule (group user)?
In o2m field, I like to disable new and delete buttons, but not edit current records.
Is it possible without define a read/delete access rule (group user)?
I think this is the behaviour if you define readonly=True on o2m field.
readonly attribute in field, new/edit/remove buttons are activated in o2m widget (not dissabled):
I understand that “readonly” attribute is only to read, no edit and not delete.
About documentation:
If True, the field is not editable in the client. Default is False.
Ups! I do a mistake in XML. Is readonly=“1” and not readonly=“True”.