server_environment: do not copy tech_name

This commit is contained in:
Simone Orsi 2022-05-10 08:16:13 +02:00 committed by Laurent Mignon (ACSONE)
parent 3b7ee2a691
commit 2482923966
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class ServerEnvTechNameMixin(models.AbstractModel):
# and get rid of some onchange / read / write code.
tech_name = fields.Char(
help="Unique name for technical purposes. Eg: server env keys.",
copy=False,
)
_server_env_section_name_field = "tech_name"