Remove required from tech_name mixin
In some cases, we want to use a tech_name, but we do not use server environment on all the records, so tech_name should not be required.
This commit is contained in:
parent
b63ea4b3c0
commit
3b7ee2a691
|
|
@ -38,8 +38,7 @@ class ServerEnvTechNameMixin(models.AbstractModel):
|
|||
# TODO: could leverage the new option for computable / writable fields
|
||||
# and get rid of some onchange / read / write code.
|
||||
tech_name = fields.Char(
|
||||
required=True,
|
||||
help="Unique name for technical purposes. " "Eg: server env keys.",
|
||||
help="Unique name for technical purposes. Eg: server env keys.",
|
||||
)
|
||||
|
||||
_server_env_section_name_field = "tech_name"
|
||||
|
|
|
|||
Loading…
Reference in New Issue