Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
Lines of code | 174 |
Technical Name |
md_document_gdrive_fetch |
License | OPL-1 |
Website | http://www.mindphin.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
Lines of code | 174 |
Technical Name |
md_document_gdrive_fetch |
License | OPL-1 |
Website | http://www.mindphin.com |
Versions | 16.0 17.0 18.0 |
GDrive: Documents Fetch
The GDrive: Documents Fetch module integrates Google Drive with Odoo's Document Management System (DMS), enabling seamless synchronization and backup of your documents. This module automatically fetches and stores files from Google Drive, ensuring a secure and efficient backup process while keeping your Odoo attachments organized and accessible.
All Features
Automated File Fetching
Configurable set frequency for file fetching.
Real-Time Synchronization
Ensures documents remain up-to-date between Odoo and Google Drive.
Secure manage drive
Enable google drive fetch file through service account.
Optimized Storage Management
Reduces odoo instance load by storing attachments in Google Drive and linking it with odoo's document instead of creating attachments.
Documentation
Cloud Configuration
Setting Up Google Drive API with a Service Account
This guide walks you through setting up the Google Drive API using a Service Account. It is tailored for integrating with applications like Odoo, enabling server-to-server file uploads. This document is based on the original guide by Digital Inspiration, with rephrased steps to ensure clarity and avoid plagiarism.
1. Create a Google Cloud Project
Visit the Google Cloud Console: https://console.cloud.google.com/
Click on the project dropdown at the top and select 'New Project'.
Provide a name for your project and click 'Create'.
Wait for the project to be initialized.

2. Enable Google APIs
In the dashboard of your newly created project, click on 'APIs & Services' > 'Library'.
Search for 'Google Drive API'.
Click on it and then click 'Enable'.


3. Create a Service Account
Navigate to 'APIs & Services' > 'Credentials'.
Click on 'Create Credentials' and choose 'Service Account'.

3a. Describe the Service Account
Enter a name and description for the service account.
Click 'Create and Continue'.
You can skip granting roles and access for now. Click 'Done'.

3b. Create a Key File
In the list of service accounts, click on the newly created account.
Go to the 'Keys' tab.
Click 'Add Key' > 'Create New Key'.
Select 'JSON' as the key type and click 'Create'.
A JSON file will be downloaded—store this securely, as it contains sensitive credentials.

4. Share a Drive Folder
Go to https://drive.google.com/ and create a new folder.
Right-click the folder and select 'Share'.
Copy the client email from your JSON key file.
Paste this email into the sharing dialog and give it 'Editor' access.
This allows the service account to access and upload files into this folder.

Odoo Configuration
To Navigate this feature Go to the Documents > configuration > Settings.
Here, you can view the Google Drive credentials and designated storage folder. You can upload the service account credentials file and specify the Google Drive folder where documents should be stored.

To access this feature, navigate to Documents > Configuration > Fetch Drive Document

When you click on the "Fetch Drive Document" menu, the system retrieves all files stored in your linked Google Drive folder and syncs them with Odoo’s Document Management System. This ensures that all documents are up to date and easily accessible within Odoo

Releases
Version 18.0.1.0 | Released on : 21stApril 2025
FAQs
- It can automatically retrieve files from specified folders in Google Drive.
- Yes, you'll need to configure access credentials through Google Cloud Console and ensure the right sharing permissions are set for the files or folders you want to integrate.
- Yes, this app works perfectly with odoo community.
- Yes, this app works perfectly with odoo enterprise.
- Yes, the module is easy to install and use, and can be configured according to the specific needs and preferences of the seller.
- Please contact us at support@mindphin.com to request customization.
- Yes, we provide free support for 90 days.
Our Services

Odoo Implementation

Odoo Customization

Support & Maintenance

Mobile Apps

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