Skip to content
Health
41/100
poor
  • Security25/25
    No findings
  • Activity6/25
    Last human commit 34 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 16.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.39 MB
Module directory on disk
Code analysis 2 migration notes 3 models 3 views 0 HTTP endpoints

Description

This module extends the functionality of the document_url module and allows you to attach a link to a file from your Google Drive

Dependencies

Odoo dependencies
OCA/knowledge:
odoo/odoo:
- web
- bus
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 3

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit.document.url.google.drive res.config.settings form Inherits base_setup.res_config_settings_view_form
res_users_google_picker_view_form res.users (document_url_google_drive) res.users form Inherits base.view_users_form
res_users_google_picker_view_form_simple_modif res.users.simple_modif (document_url_google_drive) res.users form Inherits base.view_users_form_simple_modif

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (0)

No new fields.

Public methods (1)
  • add_attachment_google_drive(self, url, name, active_model, active_ids)
    @api.model

New fields (4)
  • google_picker_api_key Char
    config_parameter='google_picker_api_key' string='Google API Key'
  • google_picker_app_id Char
    config_parameter='google_picker_app_id' default='odoo' string='Google App ID'
  • google_picker_client_id Char
    config_parameter='google_picker_client_id' string='Google Client ID'
  • is_active_google_api Boolean
    config_parameter='is_active_google_api' string='Google APIs'
Public methods (0)

No public methods.

New fields (5)
  • google_picker_access_token Char
    string='Google Access Token'
  • google_picker_active Boolean
    compute='_compute_google_picker_active'
  • google_picker_expires_date Integer
    string='Google Expires Date'
  • google_picker_mime_types Char
    string='Google Mime Types'
  • google_picker_scope Char
    default='https://www.googleapis.com/auth/drive.readonly' string='Google Scope'
Public methods (2)
  • get_google_picker_params(self)
    Get Google Picker params :return: dict
  • save_google_picker_access_token(self, access_token, expires_date)
    Save Google Picker access token :param access_token: str :return: None

Loading…