TIP: You can type at any time to perform a new search.
Google Drive URL Attachment
document_url_google_drive · OCA/knowledge
- Repository
- OCA/knowledge · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Tools
- Folder size
- 0.39 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/knowledge
- Last tracking update
- 2026-08-07 08:09:22
- Authors
- Odoo Community Association (OCA), Cetmix
- Maintainers
- Odoo Community Association (OCA), Cetmix
- Committers
- Weblate, OCA-git-bot, oca-ci, Ivan Sokolov
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_keyCharconfig_parameter='google_picker_api_key'string='Google API Key' -
google_picker_app_idCharconfig_parameter='google_picker_app_id'default='odoo'string='Google App ID' -
google_picker_client_idCharconfig_parameter='google_picker_client_id'string='Google Client ID' -
is_active_google_apiBooleanconfig_parameter='is_active_google_api'string='Google APIs'
No public methods.
New fields (5)
-
google_picker_access_tokenCharstring='Google Access Token' -
google_picker_activeBooleancompute='_compute_google_picker_active' -
google_picker_expires_dateIntegerstring='Google Expires Date' -
google_picker_mime_typesCharstring='Google Mime Types' -
google_picker_scopeChardefault='https://www.googleapis.com/auth/drive.readonly'string='Google Scope'
-
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