Health
80/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.65 MB
Module directory on disk
Code analysis
0 migration notes
5 models
4 views
2 HTTP endpoints
Description
Gmail support for incoming / outgoing mail servers
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
fetchmail_server_view_form |
fetchmail.server.view.form.inherit.gmail | fetchmail.server | form | Inherits mail.view_email_server_form |
google_gmail_oauth_error |
google_gmail_oauth_error | ir.ui.view | qweb | New |
ir_mail_server_view_form |
ir.mail_server.view.form.inherit.gmail | ir.mail_server | form | Inherits base.ir_mail_server_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.google_gmail | res.config.settings | form | Inherits mail.res_config_settings_view_form |
HTTP endpoints 2
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/google_gmail/confirm |
GoogleGmailController.google_gmail_callback |
user | http | ALL | sudo |
/google_gmail/iap_confirm |
GoogleGmailController.google_gmail_iap_callback |
user | http | ALL | sudo |
Models touched 5
New fields (1)
-
server_typeSelectionondelete={'gmail': 'set default'}selection_add=[('gmail', 'Gmail OAuth Authentication')]
-
onchange_server_type(self)@api.onchange('server_type', 'is_ssl', 'object_id')Set the default configuration for a IMAP Gmail server.
New fields (5)
-
activeBooleandefault=True -
google_gmail_access_tokenCharcopy=Falsegroups='base.group_system'string='Access Token' -
google_gmail_access_token_expirationIntegercopy=Falsegroups='base.group_system'string='Access Token Expiration Timestamp' -
google_gmail_refresh_tokenCharcopy=Falsegroups='base.group_system'string='Refresh Token' -
google_gmail_uriCharcompute='_compute_gmail_uri'groups='base.group_system'help='The URL to generate the authorization code from Google'string='URI'
-
open_google_gmail_uri(self)Open the URL to accept the Gmail permission. This is done with an action, so we can force the user the save the form. We need him to save the form so the current mail server record exist in DB, and we can include the record ID in the URL.
New fields (1)
-
smtp_authenticationSelectionondelete={'gmail': 'set default'}selection_add=[('gmail', 'Gmail OAuth Authentication')]
No public methods.
New fields (2)
-
google_gmail_client_identifierCharconfig_parameter='google_gmail_client_id' args: 'Gmail Client Id' -
google_gmail_client_secretCharconfig_parameter='google_gmail_client_secret' args: 'Gmail Client Secret'
No public methods.
New fields (1)
-
outgoing_mail_server_typeSelectionondelete={'gmail': 'set default'}selection_add=[('gmail', 'Gmail')]
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…