From 2ddb7625db4294c5747407c322b6a995e1d8ff29 Mon Sep 17 00:00:00 2001 From: Anna Janiszewska Date: Mon, 2 Mar 2020 14:34:02 +0100 Subject: [PATCH] [FIX] mail_environment: fix server_type field --- mail_environment/__manifest__.py | 2 +- mail_environment/models/fetchmail_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail_environment/__manifest__.py b/mail_environment/__manifest__.py index 63c7dad..a86203c 100644 --- a/mail_environment/__manifest__.py +++ b/mail_environment/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Mail configuration with server_environment", - "version": "13.0.1.0.1", + "version": "13.0.1.0.2", "category": "Tools", "summary": "Configure mail servers with server_environment_files", "author": "Camptocamp, Odoo Community Association (OCA)", diff --git a/mail_environment/models/fetchmail_server.py b/mail_environment/models/fetchmail_server.py index fbe30fe..c6fa0de 100644 --- a/mail_environment/models/fetchmail_server.py +++ b/mail_environment/models/fetchmail_server.py @@ -39,7 +39,7 @@ class FetchmailServer(models.Model): return "incoming_mail" @api.model - def _search_type(self, oper, value): + def _search_server_type(self, oper, value): operators = { "=": operator.eq, "!=": operator.ne,