Google Drive Odoo Integration v.15
The tool to automatically synchronize Odoo attachments with Google Drive files in both ways
This is the tool to integrate Google Drive features with Odoo folders and files. The app automatically stores Odoo attachments and directories in Google Drive and provides instant access to them via web links.
Automatic folders' structure
Decide which Odoo document types should have their own folders trees and synchronize those to Google Drive
Automatic regular sync
Rely on auto-synchronization between Odoo and Google Drive based on scheduled jobs. No manual interaction is required
Bilateral sync
Odoo sends attachments to Google Drive and retrieves files from there. Binary content is kept in clouds, while Odoo provides direct access to synced items
Cloud synchronization history
Control Google Drive sync logs right in Odoo. Export and share those in case of any issues. Be notified of any client disconnections
File manager interface
Manage synced folders and attachments from a single Odoo view. Comfortably navigate by directories. Search and download files one by one or in batch. Upload and move attachments to folders
Attachment box
Organize files of any Odoo object in a set of subfolders. Instantly access folders and files in the attachment box and in Google Drive.
Tricky setup, but works perfectly now
Really solid module. We managed to get a very flexible folder structure (sorted by clients) and synced all our sales orders, invoices and tasks by projects to Google Drive.
Initial setup was a bit of a pain and kinda tricky to configure everything at first, but now it's running smoothly and works perfectly. The faotools team helped a lot. Def worth it if u need to keep your docs organized in Odoo and Google Drive.
Recommended!
Excellent !!!
Great App and great Service from faOtools.
Best module for integration with google drive
The module performs its function correctly and faOtools responds quickly to any problem and, in case of detecting any bug, quickly apply the changes. Its support is 10 stars.
How synchronization works
Automatic two-sided sync
-
Configure sync for one or multiple Google Drive instances
-
Integration is based on scheduled jobs and is fully automatized. The app regularly checks changes in systems and runs sync operations
-
Synchronization is bilateral. Updates in Odoo are reflected in Google Drive (direct sync); changes in Google Drive modify Odoo folders and attachments (backward sync)
-
Cloud connection with Google Drive might be reset. In this way, the app assumes getting back all items back to Odoo (reverse sync)
-
Odoo folders and attachments might be re-attached to a new cloud client from Google Drive. Hence, items would be first taken back to Odoo (reverse sync) and then put to new cloud storage (direct sync)
Queue-based synchronization
-
Once in 15 minutes, the app examines updates in Odoo and Google Drive to prepare a synchronization queue
-
Folders' checks follow the First-In-First-Out (FIFO) principle. So, directories that have not been examined for the longest will be processed first
-
Once in 15 minutes, the sync queue is run by the special scheduled job. Firstly, the most important (blocking) tasks would be done
-
Control planned jobs and their fulfillment in the special Odoo logs interface (Cloud Storage > Configuration > Sync Logs). Subscribe for particular cloud clients notifications
-
If the app faces sync failures, it will re-try operations afterward. Sync queue processing would not be stopped if there are items not blocked by such failures
Odoo attachments for Google Drive: direct sync
-
Direct sync prepares the folders' hierarchy and uploads Odoo attachments for Google Drive
-
Direct sync checks whether attachments are added or deleted for synced directories. If so, they would be created or removed in Google Drive. In particular, it means that any file added to a folder-related Odoo object (e.g. Quotation), would be automatically moved to a linked cloud client
-
Direct sync makes all synced Odoo attachments change their type to a link (URL), while binary content is removed with one of the next Odoo cleaners. So, no actual files would be stored on your Odoo server
-
Direct sync checks whether a new folder is added. Disregarding whether it is done manually or automatically, the app would generate a peer directory in Google Drive
-
Direct sync checks whether there are any updates in folders. If so, such changes are reflected in Google Drive
Google Drive files and folders for Odoo: backward sync
-
Backward sync checks whether any files or subfolders are added to Google Drive folders. If so, the app would create URL attachments/subdirectories inside linked Odoo directories (and hence Odoo objects if any)
-
Backward sync checks whether there are any updates in folders or attachments. Such updates would be then reflected in Odoo
-
Backward sync checks whether any files are deleted/moved in a Google Drive document folder. If so, a linked Odoo attachment would be also unlinked or moved
-
If you deleted a Google Drive folder related to a folder rule / Odoo object, their child files would be deleted as well. Thus, Odoo would remove related attachments. The folders, however, will be recovered with a direct sync
-
In case of conflicts, direct sync changes are in general considered more important than backward updates.
Resetting or changing Google Drive: reverse sync
-
In case you decided to reset the connection with Google Drive, files would be moved back to Odoo
-
In case you decided to change the cloud client of a folder rule or a folder, files would be first taken back to Odoo, and then direct sync for a new client would be done
-
Reverse sync operations are prioritized to direct and backward sync operations
-
Not all items can be correctly reversed to Odoo due to cloud client peculiarities. For example, there are documents that may exist only in cloud storage environments (e.g. Google Sheet). The app would try to convert such documents, but in some cases, it would require manual interactions.
Configuratie- en installatietips voor Google Drive Odoo Integration Odoo v.15
Configuration and log in
- Turn on the option 'Google Drive Sync' (cloud Storage > Configuration > Configuration). The optional add-on Google Drive Odoo Integration is required
- Go to the Google Developer Console via the url https://console.developers.google.com
- Select or create a project
- Find the section 'Dashboard' and press 'ENABLE APIS AND SERVICES'
- Find Google Drive API and push the button to enable its API
- Go to 'Credentials' and press the button 'Configure Consent Screen'. As the User Type select 'External' and push 'Create'
- Add app information
- As an app name select any suitable
- As a user support email and developer contact information select your email address
- Press 'Save and Continue'
- Avoid adding any other details except the ones named here (especially, a logo or authorization domains). This will invoke a long and complex Google verification process that is of no actual need to you
- On the 'Scopes' page just press 'Save and Continue'
- As Test Users add your GMail email address, then press 'Save and Continue'
- Then, go to Credentials and push the button 'Create Credentials'
- 'Web application' as the application type
- As the authorized redirect URI add the link in a format [YOURODOOSITENAME]/google_drive_token (e.g. https://odootools.com/google_drive_token).
- Save the app and copy 'Client ID' and 'Client Secret'
- Go to Odoo Cloud Storage > Configuration > Cloud Clients press 'Create'
- As a reference introduce any name which would be clear to all users
- As a Cloud client choose 'Google Drive'
- As a Root folder name enter a title which would be users as the parent Google Drive directory for all synced folders. For example, 'Odoo' or 'OdooERP'
- Copy 'Client ID' to the 'App client ID'
- Copy 'Client Secret' into the field 'App client secret'
- Insert previously generated redirect URL
- If you use team drives, check the related box. Make sure you really use team drives. In you Google Drive you should find the item 'Team Drives' in the left sidebar. This feature is available only for business and enterprise tariffs
- If the option 'Team Drive' is enabled, introduce its name. It should be absolutely the same as you see it in your Google Drive. Make sure that your user has full rights for all Google drives (usually, it is the same user who configures your team Google Drive)
- Press 'Confirm'. Odoo redirects you to Google login page. Check in the system, agree with all conditions, and grant all permissions asked
- After login, Google redirects you back to Odoo. Google Drive - Odoo synchronization is ready to be done
- Apply the newly created cloud client to folder rules and/or manual folders which should be synced to that Google Drive
- Await the sync scheduled job to be started. For testing purposes only: trigger integration manually from Cloud Storage > Configuration > Configuration > the button 'Launch sync'.
Watch also the configuration video
Google Console: APIs
Google Drive API
Enable Google Drive API
Configuring Google Consent Screen
Setting up External User Type API
Entering Google app details
Google app scopes
Adding authorized users
Creating Google app credentials
Google Drive app redirect URL
Copy app credentials
Enter Google app credentials to Odoo
Veelgestelde vragen over Google Drive Odoo Integration Odoo v.15
Worden gegenereerde Google Drive-mappen automatisch gedeeld onder Odoo-gebruikers?
The app itself does not regulate access rights on the Google Drive side. It should be done manually there. Thus, Odoo would create target folders in Google Drive, which by default are not shared, while you can change permissions to any of the folders. For example, to grant full rights for the 'Odoo' directory or to a specific 'Odoo > Sale Orders' or 'Odoo > Sale Orders > SO-001'.
The app works on a single user endpoint principle. So, all sync operations are done under the same Google Drive user (according to the Google API app you have configured).
Ik heb een bestand in Google Drive verwijderd, maar het staat nog in Odoo
Om een bestand volledig te verwijderen, moet u ook de prullenbak in Google Drive legen.
Houd er rekening mee dat het bestand nog in Odoo kan staan, omdat de terug-sync de bijlage nog niet heeft verwerkt. Dit is een gepland proces en kost tijd.
Word ik door Google belast op basis van de API-verzoeken?
De module gebruikt alleen de gratis API, dus Google brengt niets in rekening.
Waar worden gesynchroniseerde bestanden bewaard? Worden ze gedupliceerd in Odoo en in de clouds?
De app gaat ervan uit dat de binaire inhoud van bijlagen in de Cloud Client blijft, niet op de Odoo-server. Zulke bijlagen worden in Odoo van het type URL en u kunt ze altijd openen vanuit het bijlagevak of vanuit de Cloud Client.
Na de setup zijn geen handmatige acties nodig: de synchronisatie is volledig automatisch. Bepaal welke Odoo-documenttypen gesynchroniseerd moeten worden en stel per type een gerelateerd model in (klanten, verkoop- of inkooporders, taken, projecten, enz.).
Kan ik meerdere mappen hebben voor hetzelfde documenttype? Bijvoorbeeld interne projecten en klantprojecten?
Ja, dat kan. Maak daarvoor per geval een regel en pas filters toe: bijvoorbeeld op projecttype.
Maak de filters onderling uitsluitend, zodat een document eenduidig wordt toegewezen. Bijvoorbeeld: «klant maar geen leverancier», «leverancier maar geen klant». Anders springt de documentmap van het ene model naar het andere.
Is het oké als ik veel objecten moet synchroniseren, bijvoorbeeld 10000?
Ja, hoewel het bij veel mappen/bijlagen traag kan zijn. Klanten meldden echter omgevingen met >10k partners en ~5k productvarianten, en de processen waren acceptabel.
Enkele punten:
- De sync is zo gebouwd dat elk item wordt gesynchroniseerd en niet verloren gaat, ook al is het niet snel. FIFO-wachtrijen en een commit per taak garanderen dat.
- Het aantal objecten kan logisch worden beperkt. De modelconfiguratie laat toe verouderde items uit te sluiten (bijv. gearchiveerde partners of orders van 2 jaar geleden).
Is realtime synchronisatie mogelijk?
Nee. We hebben sterke redenen om realtime sync te vermijden:
Prestaties. Bij realtime sync geeft elke bestandsupload een laadscherm.
Conflicten. Als 2 gebruikers tegelijk een item wijzigen, kan dat onoplosbaar worden. Bij gewone taken kunnen we het later herstellen; bij realtime zou een wachtrij nodig zijn, nog verwarrender.
Functionaliteit. Vooral hernoemen en herstructureren. De terug-sync steunt strikt op de mappenlogica en controleert bij elke sync 100 % van de items. Na elke update zouden dat duizenden verzoeken per seconde zijn. Zo niet, dan gaan wijzigingen verloren.
Kan ik de standaardmapnamen in de clouds wijzigen?
U kunt uw eigen naam geven aan modelmappen (verkooporders, kansen, leveranciers, enz.) voor elk documenttype.
Voor objectmappen (SO-001, John Smith, enz.) gebruikt de tool de Odoo-methode voor de weergavenaam. U kunt dat wijzigen met een naamexpressie. De syntaxis is die van Odoo-e-mailsjablonen.
Kan ik de frequentie van synchronisatietaken wijzigen?
Nee, vanaf versie 15 moet u geplande taken niet wijzigen. Ze zijn geoptimaliseerd om elke 15 minuten te lopen voor de meest stabiele en snelle verbinding.
De timeouts van de Odoo-server moeten minstens 15 minuten (900 seconden) zijn.
Om de sync even te stoppen, doet u dat op het formulier van de betreffende cloudclient.
Kan ik bijlagen synchroniseren naar meerdere cloudclients
Yes, starting from version 15, you can set up multiple connections. In this way, it is possible to sync some folders to one cloud client and others - to another.
Take into account that it is not any way possible to sync the same folder for a few cloud storages simultaneously.
We gebruiken een speciale editor in onze clouds (bijv. OnlyOffice, Office 365, enz.). Worden bestanden in die editor geopend?
Ja, afhankelijk van de configuratie van uw cloudclient.
Heb ik alleen de Cloud Storage Solution-app nodig?
Vanaf versie 15 kan de app alleen worden gebruikt om bijlagen in mappen te structureren en een bestandsbeheerinterface te bieden.
Als u een verbinding met een van de cloudclients wilt, moet u minstens één optionele client-app installeren.
Wat gebeurt er als ik een mapregel wijzig?
Als een mapregel wijzigt, wijzigt ook de mappenlijst. Past een map niet meer bij de voorwaarden, dan wordt ze verwijderd. Waren de bestanden al gesynchroniseerd, dan brengt de terug-sync ze terug naar Odoo en verwijdert ze uit de Cloud Client.
Past het documentobject niet bij een mapregel, dan wordt de map niet aangemaakt. Past het later wel, dan wordt de bijbehorende map gegenereerd.
Wat is het updatebeleid van uw tools?
Volgens het huidige beleid van de Odoo Apps Store:
- Elke module gekocht voor versie 12.0 of eerder geeft toegang tot alle versies tot 12.0.
- Vanaf versie 13.0 moet elke moduleversie apart worden gekocht.
- Ongeacht de versie geeft aankoop recht op alle updates en bugfixes binnen een hoofdversie.
Het faOtools-team bepaalt dit beleid niet. Neem voor vragen rechtstreeks contact op met vertegenwoordigers van de Odoo Apps Store.
Hoe installeer ik uw app op Odoo.sh?
De meest directe aanpak is de ingebouwde workflow van de Odoo-store:
1. Open de modulepagina en klik op Deploy on odoo.sh
2. U gaat naar GitHub. Log in en klik op Create a new repo of gebruik een bestaande. De repository moet prive zijn. Apps onder OPL-1 mogen niet openbaar. Maak zo nodig een nieuwe repo voor het Odoo.sh-project
3. Ga daarna naar odoo.sh, klik op Deploy, bevestig en klik op Continue. De installatie start.
Zo installeert u de app op de productiebranch. Voor andere branches of een update:
1. Download de broncode uit de Odoo-store
2. Commit de module naar de GitHub-repository. Geen app-mappen/bestanden in .gitignore. Repo's van odoo.sh negeren soms belangrijke paden (bijv. /lib). Upload alle modulemappen en -bestanden
3. Deploy de doelbranch van het odoo.sh-project of wacht op de automatische build.
Hoe installeer ik uw app op mijn eigen server?
2. Herstart de Odoo-server;
3. Zet de ontwikkelaarsmodus aan (technische instellingen);
4. Werk de applijst bij (Apps-menu);
5. Zoek de app en klik op Activate/Install;
6. Volg de richtlijnen op de app-pagina als die er zijn.
Uw app heeft extra add-ons. Kan ik die later kopen?
Ja. Odoo zet automatisch alle afhankelijkheden in de winkelwagen: sluit eerder gekochte tools uit om dubbel betalen te voorkomen.
Ik heb uw app op Odoo.sh gezet en zie een waarschuwing/fout in de tests
Een rode/oranje waarschuwing beinvloedt de functies van de app niet. Soms halen onze modules de standaard automatische tests niet, omdat die gedrag verwachten dat indruist tegen het doel van de app. We wijzigen bijvoorbeeld de prijscalculatie, terwijl de Odoo-tests de eindprijs met het standaardalgoritme vergelijken.
Controleer eerst de functies van de gedeployde database. Werkt alles?
Als u toch denkt dat de waarschuwing echte functies raakt, neem contact op en stuur de volledige installatielogs en de volledige lijst gedeployde modules (kern en derden).
Kan ik uw app rechtstreeks bij u kopen?
Nee, we verspreiden de tools alleen via de officiele Odoo-appwinkel.
Ik wil graag korting
Helaas hebben we geen technische mogelijkheid voor individuele prijzen.
Kan ik de app installeren op mijn Odoo Online (SaaS)-database?
Nee, apps van derden kunnen niet op Odoo Online. Odoo SaaS blokkeert die mogelijkheid.
Uw tool hangt van andere apps af. Moet ik die kopen?
Ja, de tool heeft alle modules in de afhankelijkheden nodig. De prijs op de app-pagina is inclusief die afhankelijkheden.
Wat is de prijs van de module in Amerikaanse dollars? Waarom is die veranderd?
De prijs van onze modules staat in euro. De Odoo-store rekent om volgens de interne wisselkoers. De prijs in Amerikaanse dollars kan dus wijzigen als die koers wordt bijgewerkt.
De teksten van de app en website in andere talen dan het Engels zijn met AI ondersteund en afgestemd op de officiële Odoo-vertalingen. Als u een fout ziet, een vertaalticket sturen en we corrigeren het.
Fouten melden
Als u bugs of inconsistent gedrag tegenkomt, aarzel dan niet om contact met ons op te nemen. We garanderen dat we binnen 60 dagen na aankoop oplossingen bieden en zijn zeer geïnteresseerd in het verbeteren van onze tools, zelfs na deze periode.
U heeft geen telefoonnummer of creditcard nodig om contact met ons op te nemen. U hoeft slechts een korte e-mailaanmelding door te geven, die niet langer dan 30 seconden duurt.
Vermeld zo veel mogelijk details in uw verzoek: schermafbeeldingen, Odoo-serverlogboeken, een volledige beschrijving om uw probleem te reproduceren enzovoort. Gewoonlijk kost het enkele werkdagen om een werkplan voor een probleem op te stellen (als een bug is bevestigd) of u richtlijnen te geven over wat er moet gebeuren (anders).
Aanvragen voor openbare functies en module-ideeën (gratis ontwikkeling)
We zijn sterk gemotiveerd om onze tools te verbeteren en zijn dankbaar voor alle feedback. Als uw vereisten van openbaar nut zijn en efficiënt kunnen worden geïmplementeerd, zal het team deze opnemen in onze takenlijst.
Zo'n to-dolijst wordt regelmatig verwerkt en er zijn geen extra kosten aan verbonden. Hoewel we geen deadlines en definitief ontwerp kunnen beloven, kan het een goede manier zijn om de gewenste functies te verkrijgen zonder investeringen en risico's.
U heeft geen telefoonnummer of creditcard nodig om contact met ons op te nemen. U hoeft slechts een korte e-mailaanmelding door te geven, die niet langer dan 30 seconden duurt.
De tool om wachtwoorden veilig in Odoo te bewaren voor gedeeld gebruik. Kluizen
198€De tool om KPI-doelen te zetten en de realisatie per periode te controleren. Dashboards. Grafieken
198€De tool om een diepe kennisbank te bouwen, intern en extern. KMS. Wiki-achtige revisies
398€De tool voor tijdgebonden diensten van boeking tot verkoop en reviews
De tool om Odoo vanuit AI-chats via MCP te beheren. Claude. Elke MCP-AI.
198€De tool om Odoo-bijlagen in mappen te structureren en te synchroniseren met Google Drive, OneDrive/SharePoint, Nextcloud/ownCloud, Dropbox, Amazon S3, Box en NAS. Bestandsbeheer. DMS
De tool om Odoo-bijlagen bidirectioneel met OneDrive te synchroniseren
De tool om Odoo-bijlagen bidirectioneel met ownCloud/Nextcloud te synchroniseren
De tool om Odoo-bijlagen bidirectioneel met DropBox te synchroniseren