[FIX] mail_environment: fix server_type field
This commit is contained in:
parent
a5ba449ea6
commit
2ddb7625db
|
|
@ -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)",
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue