This question has been flagged

I have created one2many list in custom_model and add button in many2one list. I want when I clicked on edit button field should readonly true otherwise readonly only false.

form>one2many + my_button>form>fields should readonly if clicked on edit button read only otherwise field should not editable.

Avatar
Discard