This module extends the functionality of the document_url module and allows you to attach a link to a file from your Google Drive
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Lets users attach a Google Drive file link to any Odoo record directly from the chatter, using Google's file picker. Administrators enable it and enter the Google API credentials in Settings.
This module adds a Google Drive option to the existing "add URL" feature in Odoo's chatter, so users can link a file stored in Google Drive instead of typing a URL by hand.
- In the chatter attachment box, a button "Add GDrive link" appears when the feature is enabled. Clicking it opens Google's own file picker, where the user selects one or several Drive files. Each selected file is then saved as a URL-type attachment on the current record.
- A sign-out icon lets the user disconnect their Google session.
Administrators configure it in Settings: a "Google APIs" checkbox plus fields for Google Client ID, Google API Key and Google App ID. The feature only shows up for users when these values are filled in.
On the user form, a "Google API" tab (visible only when the feature is active) shows the Google scope, the stored access token (read-only) and the allowed Google Mime Types. The access token and its expiry date are saved per user after they authorise access, and the default scope is read-only access to Drive.
The module extends res.config.settings, res.users and the URL attachment wizard ir.attachment.add_url, and adds a JavaScript component to the backend assets.
Depends on
Models and fields (3)
- res.users · extends an existing modelgoogle_picker_scope (Google Scope), google_picker_active, google_picker_mime_types (Google Mime Types), google_picker_access_token (Google Access Token), google_picker_expires_date (Google Expires Date)
- res.config.settings · extends an existing modelgoogle_picker_app_id (Google App ID), is_active_google_api (Google APIs), google_picker_api_key (Google API Key), google_picker_client_id (Google Client ID)
- ir.attachment.add_url · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/knowledge.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0To configure this module, you need to:
- Go to Settings -> General Settings and scroll down to the Integrations section.
- Enable "Google API", save. Setup instructions https://developers.google.com/drive/picker/guides/overview
- "Google Client ID" - enter the client ID from the Google API console: https://developers.google.com/identity/oauth2/web/guides/get-google-api-clientid
- "Google API key" - enter the API key from the Google API console.
- "Google App ID" - enter the ID of the Google application. The default value is
odoo.
You will be asked to authenticate when you add a link for the first time.
To modify your personal login credentials later
- Open your user profile and set up personal access credentials on the "Google API" tab.
- field "Google Scope" - enter the scope for the Google API. The default value is
https://www.googleapis.com/auth/drive.readonly. - field "Google Access Token" - your token will be displayed here. It is necessary to edit it.
- field "Google Mime Types" - enter the file formats to be filtered when selecting. Example:
application/pdf, image/jpeg, image/png. By default, all files are selected To log out from the current Google Account by clicking the "logout" icon right to the "Add GDrive link".
Usage
Source · Odoo 16.0To use this module, you need to:
- Open the form view of an object (Example: Customer Invoice INV/2019/0007).
- Go to the chatter and click on the attached icon.
- Click Add GDrive link.
- Fill the wizard fields and click on Add button.
- In the open window, select the files you need and press the select button.
- You will see a new URL attachment in the set of attachments related to the object.
- In order to log in under another google user, click on the logout icon located after Add GDrive link
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.