Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Email
  3. Cloud Storage Google - Extended v 19.0
  4. Sales Conditions FAQ

Cloud Storage Google - Extended

by OMAR-NABIL
Odoo

$ 100.00

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 399
Technical Name storage_cloud_google_extended
LicenseOPL-1
Versions 18.0 19.0
  • Description
  • Manifest
  • License
Odoo 19 - Google Cloud Storage

Google Cloud Storage - Extended

Extends Odoo 19's native cloud_storage_google with immediate all-attachment upload, smart mimetype filtering, SHA1-based deduplication, and safe GCS blob deletion - all in the same transaction, no CRON wait.

All Attachments Deduplication Safe Deletion Instant on Create

Key Features

Everything missing from the base module, added without touching core code

All-Attachment Upload

Uploads every eligible binary attachment - not just chatter - to Google Cloud Storage. Covers form saves, generated reports, imports, and background code.

Immediate Upload on Creation

When an attachment is created, it is uploaded to GCS in the same transaction. The filestore is used only transiently - never accumulates.

Mimetype Filtering

Automatically excludes web-served file types (JS, CSS, HTML, JSON, XML, SVG) that add overhead without meaningful storage savings.

SHA1 Deduplication

Before uploading, checks if the same file already exists in GCS (by SHA1 checksum). If found, reuses the existing blob - no duplicate storage cost.

Safe Blob Deletion

GCS blobs are deleted only when the last attachment record referencing that URL is removed. Multiple records sharing a blob via dedup stay protected.

CRON Fallback & Migration

Files exceeding the sync size threshold and pre-installation historical attachments are handled by the scheduled action - fully compatible with cloud_storage_migration.


Base Module vs This Extension

Capability cloud_storage_google (base) + storage_cloud_google_extended
Chatter / mail attachments Yes Yes
Form / report / import attachments No Yes - Immediate
Mimetype exclusion filter No Yes
File deduplication (SHA1) No Yes
Safe GCS blob deletion No Yes
cloud_storage_migration dedup No Yes


How to Set Up Google Cloud Storage

A step-by-step guide to linking your Google Cloud Storage bucket with Odoo

  • 1. Register & Sign In: Visit the Google Cloud Console and sign in with your Google account.
  • 2. Create a Service Account:
    • Go to IAM & Admin -> Service Accounts -> Create.
    • Define a name and click Create and continue, then Done.
Create Service Account

Create a new service account in Google Cloud IAM

  • 3. Manage Keys:
    • Click the three-dot Actions menu on your new service account.
    • Select Manage Keys.
Manage Keys

Open the Manage Keys panel for your service account

  • 4. Create a JSON Key:
    • Click Add Key -> Create new key -> choose JSON -> click Create.
    • The credentials file will download automatically. Store it securely.
Create JSON Key

Download the JSON credentials file for the service account

  • 5. Create a Cloud Storage Bucket:
    • Go to Cloud Storage -> Buckets -> Create.
    • Choose a unique bucket name and complete the creation wizard.
Create Bucket

Create a dedicated GCS bucket for Odoo attachments

  • 6. Edit Bucket Permissions:
    • Click the three-dot menu next to your bucket and select Edit Access.
Edit Bucket Access

Open the bucket access editor

  • 7. Grant Service Account Storage Admin Role:
    • Under New principals, paste the service account email address.
    • Set the role to Storage Admin.
    • Click Save.
Assign Storage Admin Role

Assign the Storage Admin role to your service account


Required Python Library

Before using this module, make sure the Google authentication library is installed on your Odoo server:

pip install --upgrade google-auth

This library allows your Odoo server to authenticate with Google Cloud using the downloaded JSON service account key file.



Configure in Odoo & See It in Action

From Odoo settings to files landing in your GCS bucket

Odoo Cloud Storage Settings

Configure Google Cloud Storage in Odoo Settings
Go to Settings -> General Settings -> Cloud Storage. Select Google Cloud as the provider, enter your bucket name, and upload the JSON credentials file downloaded from the Google Cloud Console. Odoo will authenticate automatically. Set the minimum file size threshold (in bytes) to control which attachments qualify for cloud upload.

Chatter Attachment Upload

Attach a File Through the Chatter
A PDF file is attached directly from the chatter on any Odoo record. The base cloud_storage_google module handles chatter uploads natively, and this extension ensures the same deduplication and safe-deletion logic applies. The file reaches Google Cloud Storage in the same request, not after a CRON delay.

GCS Bucket After Chatter Upload

File Lands in Your GCS Bucket Immediately
Seconds after the chatter upload, the PDF appears in your Google Cloud Storage bucket under the configured path. No manual migration step, no CRON wait - the blob is created in the same transaction as the Odoo attachment record.

Send Invoice Action Creates Attachment

Automatic Upload for System-Generated Attachments
When Odoo generates a PDF attachment automatically - such as sending an invoice via the Send & Print action - this extension intercepts the creation and uploads the resulting PDF to GCS immediately. No user interaction required. This is the key gap the base module leaves open: programmatic attachments are now fully covered.

GCS Bucket After Invoice Attachment

Invoice PDF Stored in GCS - Not in the Filestore
The invoice PDF generated by Odoo's Send action appears in your GCS bucket alongside the chatter attachment. Your Odoo filestore stays clean - only the cloud URL reference is kept in the database. If the same PDF is sent again, deduplication reuses the existing GCS blob instead of creating a copy.


How It Works

Attachment lifecycle with this extension installed

1. Attachment Created

Any source - form save, report, import, or chatter

2. Eligibility Check

Mimetype, file size, and res_id validated. Excluded types stay local.

3. Dedup Check

SHA1 matched against existing cloud attachments. Match found: reuse URL.

4. Upload to GCS

File uploaded via signed URL. Record updated to type=cloud_storage.

5. Filestore Cleared

Local copy removed on commit. Zero disk accumulation.


Get in Touch

Email Us
Email Us
Questions, feedback, or feature requests?
onabil211@gmail.com
WhatsApp
WhatsApp Us
Scan to chat with us instantly

Developer: Omar Nabil
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 399
Technical Name storage_cloud_google_extended
LicenseOPL-1
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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with