Skip to Content
Menu

285.58

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 741
Technical Name drive_management
LicenseOPL-1
Websitehttps://www.linkedin.com/in/amro00743/
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 741
Technical Name drive_management
LicenseOPL-1
Websitehttps://www.linkedin.com/in/amro00743/

Google Drive Integration

ODOO 16 Enterprise & Community

Seamlessly manage your Google Drive files and folders directly from the Odoo interface.

Google Drive UI in Odoo

Key Features

Full File & Folder Management

List, navigate, create, rename, and delete files and folders with an intuitive user interface.

Easy File Uploads

Upload files directly from Odoo to your Google Drive. Multi-file upload is supported.

Configurable Root Folder

Restrict the UI to a specific Google Drive folder, providing a focused and secure workspace for your users.

Granular Access Control

Use Odoo's built-in security groups to control who can view, create, upload, rename, download, and delete files.

Required External Libraries

Before installation, ensure the following Python libraries are installed in your Odoo environment:

  • google-api-python-client
  • google-auth-httplib2
  • google-auth-oauthlib

You can install them using pip:

pip3 install google-api-python-client google-auth-httplib2 google-auth-oauthlib

Configuration Guide: Google Cloud Console

Follow these steps to get your Google API credentials:

  1. Go to the Google Cloud Console.
  2. Create a new project or select an existing one.
  3. From the navigation menu, go to APIs & Services > Library.
  4. Search for "Google Drive API" and click Enable.
  5. Go to APIs & Services > OAuth consent screen. Configure it for your application (choose "External" if you are not a Google Workspace user). Add the `.../auth/drive` scope.
  6. Go to APIs & Services > Credentials. Click Create Credentials > OAuth client ID.
  7. Select Web application as the application type.
  8. Under Authorized redirect URIs, click ADD URI. This is the most important step to avoid `redirect_uri_mismatch` errors.
  9. Enter your full Odoo base URL followed by `/google_drive/auth`. For example: https://your-odoo-domain.com/google_drive/auth
  10. Click Create. Copy the generated Client ID and Client Secret.

Configuration Guide: Odoo

Once you have your credentials from Google, configure them in Odoo.

Odoo Google Drive Settings
  1. Go to Settings > General Settings and find the Google Drive Integration section.
  2. Paste your Client ID and Client Secret into the respective fields.
  3. (Optional) Enter a specific Google Drive Folder ID to use as the root folder for the UI. If left empty, it will use your entire Google Drive.
  4. Click Save.
  5. Finally, click the Connect to Google Drive button to initiate the authentication process.

Security Groups

Control user actions with fine-grained security groups. Assign these groups to your users from Settings > Users & Companies > Users.

Odoo User Security Groups
  • Access Drive Management: Base group required to see the Google Drive menu.
  • Create Folder: Allows user to create new folders.
  • Upload File: Allows user to upload files.
  • Rename File: Allows user to rename files and folders.
  • Download File: Allows user to download files.
  • Delete File: Allows user to delete files and folders.



If you need any help or want more features, just contact us:


Email: Amro00743@gmail.com



Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.