[IMP] : black, isort, prettier
This commit is contained in:
parent
2779fa087d
commit
1409364d3c
|
|
@ -29,7 +29,11 @@ class ServerEnvTechNameMixin(models.AbstractModel):
|
||||||
_name = "server.env.techname.mixin"
|
_name = "server.env.techname.mixin"
|
||||||
_description = "Server environment technical name"
|
_description = "Server environment technical name"
|
||||||
_sql_constraints = [
|
_sql_constraints = [
|
||||||
("tech_name_uniq", "unique(tech_name)", "`tech_name` must be unique!",)
|
(
|
||||||
|
"tech_name_uniq",
|
||||||
|
"unique(tech_name)",
|
||||||
|
"`tech_name` must be unique!",
|
||||||
|
)
|
||||||
]
|
]
|
||||||
# TODO: could leverage the new option for computable / writable fields
|
# TODO: could leverage the new option for computable / writable fields
|
||||||
# and get rid of some onchange / read / write code.
|
# and get rid of some onchange / read / write code.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue