field don't update after have their first saves

21 views Asked by At

I'm an odoo developer and my problem is as follows: I want fields that already have registered values to no longer be modifiable afterwards.

I have some fields that I have created and I want after having received their first value when I come back for the next foix it refuses to I modify these fields.

1

There are 1 answers

0
Talha Khan On

You are not able to modify the fields because they are readonly fields. You need to remove readonly attribute from those fields in your models.py file.