[IMP] : black, isort, prettier

This commit is contained in:
nguyenhk
2022-01-07 11:46:34 +07:00
parent 0ff751b622
commit 3750bb0def
2 changed files with 18 additions and 16 deletions

View File

@@ -5,14 +5,16 @@ from odoo import models
class PrintingServer(models.Model):
_name = 'printing.server'
_inherit = ['printing.server', 'server.env.mixin']
_name = "printing.server"
_inherit = ["printing.server", "server.env.mixin"]
@property
def _server_env_fields(self):
base_fields = super()._server_env_fields
base_fields.update({
'address': {},
'port': {},
})
base_fields.update(
{
"address": {},
"port": {},
}
)
return base_fields