Skip to content

Commit 0d2ee24

Browse files
[IMP] mail_environment: Add the smtp_authentication field to the ir.mail_server model
This field is used to choose the authentication method, and used by core modules `google_gmail` and `microsoft_outlook`, for example, to define their own authentication methods.
1 parent 01ffc47 commit 0d2ee24

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mail_environment/models/ir_mail_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def _server_env_fields(self):
1717
"smtp_user": {},
1818
"smtp_pass": {},
1919
"smtp_encryption": {},
20+
"smtp_authentication": {},
2021
}
2122
mail_fields.update(base_fields)
2223
return mail_fields

0 commit comments

Comments
 (0)