From 43be1be2a368333a29cc7045a8460f4affb5d380 Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Wed, 19 Jan 2022 17:05:55 +0100 Subject: [PATCH] [14.0][FIX] mail_outbound_static: Apply pre-commit --- mail_outbound_static/models/ir_mail_server.py | 4 ++-- mail_outbound_static/views/ir_mail_server_view.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mail_outbound_static/models/ir_mail_server.py b/mail_outbound_static/models/ir_mail_server.py index 0311cf5..a0566fd 100644 --- a/mail_outbound_static/models/ir_mail_server.py +++ b/mail_outbound_static/models/ir_mail_server.py @@ -118,8 +118,8 @@ class IrMailServer(models.Model): @tools.ormcache("email_domain") def _get_mail_sever(self, email_domain): - """ return the mail server id that match with the domain_whitelist - If not match then return the default mail server id available one """ + """return the mail server id that match with the domain_whitelist + If not match then return the default mail server id available one""" mail_server_id = None for item in self.sudo().search( [("domain_whitelist", "!=", False)], order="sequence" diff --git a/mail_outbound_static/views/ir_mail_server_view.xml b/mail_outbound_static/views/ir_mail_server_view.xml index af26216..5b533e9 100644 --- a/mail_outbound_static/views/ir_mail_server_view.xml +++ b/mail_outbound_static/views/ir_mail_server_view.xml @@ -11,8 +11,8 @@ - - + +