[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",
|
"name": "Mail configuration with server_environment",
|
||||||
"version": "13.0.1.0.1",
|
"version": "13.0.1.0.2",
|
||||||
"category": "Tools",
|
"category": "Tools",
|
||||||
"summary": "Configure mail servers with server_environment_files",
|
"summary": "Configure mail servers with server_environment_files",
|
||||||
"author": "Camptocamp, Odoo Community Association (OCA)",
|
"author": "Camptocamp, Odoo Community Association (OCA)",
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class FetchmailServer(models.Model):
|
||||||
return "incoming_mail"
|
return "incoming_mail"
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _search_type(self, oper, value):
|
def _search_server_type(self, oper, value):
|
||||||
operators = {
|
operators = {
|
||||||
"=": operator.eq,
|
"=": operator.eq,
|
||||||
"!=": operator.ne,
|
"!=": operator.ne,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue