[IMP] : black, isort, prettier

This commit is contained in:
Mourad 2020-10-12 10:45:21 +02:00
parent edcfb80254
commit d01708d21f
3 changed files with 12 additions and 1 deletions

View File

@ -29,7 +29,11 @@ class ServerEnvTechNameMixin(models.AbstractModel):
_name = "server.env.techname.mixin"
_description = "Server environment technical name"
_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
# and get rid of some onchange / read / write code.

View File

@ -0,0 +1 @@
../../../../server_environment

View File

@ -0,0 +1,6 @@
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)