Skip to content
Snippets Groups Projects
Commit 28ca6c2e authored by std-odoo's avatar std-odoo
Browse files

[IMP] {microsoft, fetchmail}_outlook: do not reset the email config

Purpose
=======
Do not reset the email configuration when unchecking "is Gmail".

Task-2751996

Part-of: odoo/odoo#87498
parent 6048902d
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,6 @@ class FetchmailServer(models.Model):
self.is_ssl = True
self.port = 993
else:
self.server_type = 'pop'
self.is_ssl = False
self.google_gmail_authorization_code = False
self.google_gmail_refresh_token = False
self.google_gmail_access_token = False
......
......@@ -27,7 +27,6 @@ class IrMailServer(models.Model):
self.smtp_encryption = 'starttls'
self.smtp_port = 587
else:
self.smtp_encryption = 'none'
self.google_gmail_authorization_code = False
self.google_gmail_refresh_token = False
self.google_gmail_access_token = False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment