Skip to Content
Menu
v 16.0 Third Party 169
Download for v 16.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 547
Technical Name document_url_google_drive
LicenseAGPL-3
Websitehttps://github.com/OCA/knowledge
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 547
Technical Name document_url_google_drive
LicenseAGPL-3
Websitehttps://github.com/OCA/knowledge

Google Drive URL Attachment

Beta License: AGPL-3 OCA/knowledge Translate me on Weblate Try me on Runboat

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

Table of contents

Configuration

To 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.

Configuration

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

To use this module, you need to:

  1. Open the form view of an object (Example: Customer Invoice INV/2019/0007).
  2. Go to the chatter and click on the attached icon.
  3. Click Add GDrive link.
  4. Fill the wizard fields and click on Add button.
  5. In the open window, select the files you need and press the select button.
  6. You will see a new URL attachment in the set of attachments related to the object.
  7. In order to log in under another google user, click on the logout icon located after Add GDrive link

Google Drive Link

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Cetmix

Contributors

Cetmix <cetmix.com>

  • Ivan Sokolov
  • Mykola Demchuk

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/knowledge project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.