| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 5972 |
| Technical Name |
eb_google_drive_connector |
| License | OPL-1 |
| Website | https://www.theerpbot.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 5972 |
| Technical Name |
eb_google_drive_connector |
| License | OPL-1 |
| Website | https://www.theerpbot.com |
| Versions | 18.0 19.0 |
Google Drive Connector
Use widget="gdrive_binary" to seamlessly store files in Google Drive!
Connect Odoo to Google Drive using the Drive API v3. Store files from gdrive_binary fields in the authenticated user's Drive instead of the database, per company. Configure OAuth credentials in Google Cloud, consent and redirect URIs, upload destination (default folder, folder picker, or auto subfolder per record), and optional scheduled token refresh. On the field itself, users can preview files with the eye icon and reuse chatter attachments via the paperclip (From chatter)-ideal for App Store deployments with clear company-level control.
Get in Touch Instantly
Scan with your phone to email or message us directly
Email Us
connect@theerpbot.comChat on WhatsApp
+91 95215 02818HIGHLIGHTS
Drive API v3 & OAuth 2
Per-company OAuth Client ID and Secret from Google Cloud, delegated Drive scope (https://www.googleapis.com/auth/drive) plus openid/email hints, token verify and scheduled refresh.
gdrive_binary widget
Use the dedicated field widget on forms and lists-upload, download, clear, plus From chatter and Preview actions. Standard binary fields stay in Odoo.
Upload destination modes
Default target folder, folder picker wizard on each upload, or auto-create a subfolder per record under My Drive root-configured with a single radio field.
Google Drive folder picker
When upload mode is "ask for Google Drive folder on upload", browse and select the target folder in Drive before the file is sent.
Preview ( eye icon)
Open a read-only preview for a stored file (including Office-friendly flows where configured) without leaving the form.
From chatter ( paperclip)
Pick an attachment already posted in the chatter and push it to Google Drive seamlessly.
Scheduled token refresh
Link to the included ir.cron job that refreshes expiring access tokens before they lapse.
Markers in Odoo, files in Google Drive
Binary fields store a compact marker; file bytes live in Google Drive-reducing database size for large attachments.
Detailed Company Configuration Fields
To start using the Google Drive Connector, navigate to Settings -> Companies -> [Your Company] -> Google Drive tab. Below is the detailed explanation of all available configuration fields:
- Enable Google Drive connector: Turn this toggle on to use Google Drive for this company's
gdrive_binaryfields. Saving the form does not automatically turn it off. - OAuth Client ID (Google Cloud) & OAuth Client Secret: Create OAuth Web application credentials in Google Cloud Console and paste them here. Enable the Drive API on the project and match the OAuth redirect URI Odoo expects (see the banner on this tab).
- Redirect URI &
web.base.url: The callback path is.../eb_google_drive/oauth/callback. Use the same protocol and host you open in the browser (e.g.http://127.0.0.1:8069vslocalhost). - Token verified: A read-only toggle indicating whether credentials and tokens look valid and the access token expiry is still in the future.
- Google Drive Token Expires At: Shows when the current access token is expected to expire.
- Upload destination: Controls where uploads from the
gdrive_binarywidget go:- Default - use configured target folder: Uses the Google Drive Target Folder selected via Fetch folders.
- Ask for Google Drive folder on upload: Prompts the user with a folder picker on every upload.
- Auto-create subfolder per record: Creates a folder per Odoo record under My Drive root (target folder ID is not used in this mode).
- Chatter -> Google Drive (From chatter): When picking an attachment from chatter for a Drive-backed field-keep it in chatter, or after upload remove the bytes from Postgres and leave a log note.
- Scheduled action: refresh tokens: Links to the background cron job that refreshes access tokens before they expire.
- Last Google Drive API message & Message type: The most recent success, info, or error text from Drive API operations.
Company Configuration & Authorization
Steps to Configure:
- Add your OAuth Client ID and OAuth Client Secret from Google Cloud.
- Click the Authorize with Google button to grant access.
- Click the Verify token button to ensure your connection is active.
- Once Token verified is on, click Fetch folders to select your default upload folder (when not using auto-subfolder mode).
Fetch Folder Wizard
Select Default Folder: After verifying your token, clicking the "Fetch folders" button opens this wizard to choose the default destination folder for your uploads.
gdrive_binary field - Upload, From chatter, Preview
Widget Features: Use the widget="gdrive_binary" on your binary fields to access Google Drive features directly on your forms.
Preview - eye icon ()
Preview Mode: Easily preview PDFs, images, and Office documents directly inside Odoo without needing to download them.
From chatter - paperclip ()
Chatter Integration: Select an attachment already posted in the chatter and push it to Google Drive seamlessly.
Folder picker (wizard upload mode)
Dynamic Folders: When upload mode is "Ask for Google Drive folder on upload", browse and select the desired folder right before the upload begins.
Remove and Log (Chatter Disposition)
Space Saving: When the chatter disposition is set to "remove file from database", the local attachment is deleted post-upload to save space, and a log note is added automatically.
Auto-Create Subfolders
Organized Structure: The "Auto-create subfolder per record" mode keeps Drive organized by automatically grouping files in folders named after your Odoo records.
Version 18.0.1.0.1
Released on : 12/05/2026
Frequently Asked Questions
Does this module work with Odoo Community and Enterprise?
Yes. It depends on base, web, and mail and is intended for both editions.
Do standard binary fields automatically use Google Drive?
No. Only fields that use the gdrive_binary widget
store files via this connector. Regular binary fields behave as default Odoo.
What OAuth scopes does Google prompt for?
As documented on the company Google Drive tab, the flow requests delegated Drive access
(https://www.googleapis.com/auth/drive) plus identity/profile hints (openid, email/profile),
so folder browse, uploads, deletes, and previews match the parity model of companion cloud-storage connectors by TheERPBot.
Configure the OAuth consent screen and restrict credentials appropriately in Production.
What does the eye (Preview) icon do?
It opens an in-browser preview of the file stored in Google Drive for that field (where supported), so users can verify content without using the download button.
What does "From chatter" (paperclip) do?
It lets users pick an attachment that already exists on the record's chatter and use it for this Drive-backed field-useful when a file was posted in chatter first. The record may need to be saved before picking, depending on context.
I need customization-how do I contact you?
Email connect@theerpbot.com with your requirements.
Do I need to buy the module again for each Odoo version?
App Store policy may require a purchase per major Odoo version; confirm on the store listing.
Please email us for support at connect@theerpbot.com
Our Services
Odoo Implementation
Odoo Support
Odoo Migration
Website Designing
Accounting & Bookkeeping
Odoo Integration
Odoo Upgrades
Odoo Training
Free 90 Days Support
TheERPBot will provide FREE 90 days support for any doubt, queries, and bug fixing or any type of issues related to this module. This is applicable from the date of purchase.
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