Google Drive Odoo Integration v.16
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 will be first taken back to Odoo (reverse sync) and then will be put into the 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 will be created in Google Drive or removed from there. 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 Sheets). The app would try to convert such documents, but in some cases, it will require manual interactions.
Seadistamise ja paigaldamise näpunäited Google Drive Odoo Integration Odoo v.16
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 Cloud Console via the URL https://console.cloud.google.com
- Select or create a project
- After the project is selected, the console opens the Google Auth Platform. Press 'Get Started'
- Add app information
- As an app name select any suitable
- As a user support email select your email address
- Press 'Next'
- As the audience select 'External' and press 'Next'. Note: you are anyway going to use this app only for your own Odoo connection
- As the contact information enter your Google or Google Workspace email address and press 'Next'
- Agree with the Google API Services User Data Policy, press 'Continue', and then press 'Create'
- Go to 'Clients' and press 'Create client'
- As the application type select 'Web application'
- As a name select any suitable
- As the authorized redirect URI, add the link in a format [YOURODOOSITENAME]/google_drive_token (e.g. https://odootools.com/google_drive_token).
- Press 'Create'
- Copy and safely store 'Client ID' and 'Client secret'. The client secret is shown only once
- Enable the Google Drive API for this project: type 'Google Drive API' in the top search box, open the found product, and press 'Enable'
- Go to 'Audience' and add your email address as a test user
- Publish the app. Otherwise, the app stays in the testing state and its token expires every 7 days
- Open 'Branding' and fill in the application home page and the application privacy policy link (for example, the links to your Odoo website). Add the domains of those links as the authorized domains
- Open 'Audience' and press 'Publish app'
- Do not upload an app logo. This would invoke a long and complex Google verification process that is of no actual need to you
- 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 that will be used as the parent Google Drive directory for all synced folders. For example, 'Odoo' or 'OdooERP'
- Copy 'Client ID' from step 9 into the field 'App client ID'
- Copy 'Client secret' from step 9 into the field 'App client secret'
- Insert the redirect URL you entered in step 9
- If you use team drives, check the related box. Make sure you really use team drives. In your 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 to all Google drives (usually, it is the same user who configures your team Google Drive)
- Press 'Confirm'. Odoo redirects you to the 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, Note: the Google console part of the video is outdated; follow the steps above instead
Open the Google Auth Platform
Add app information
Select the external audience
Add contact information
Agree with the policies and create the app
Create an OAuth client
Configure the web application client
Copy the client ID and client secret
Find the Google Drive API
Enable the Google Drive API
Fill in branding to publish the app
Add test users and publish the app
Enter Google app credentials to Odoo
Korduma kippuvad küsimused Google Drive Odoo Integration Odoo v.16
Kas loodud Google Drive kaustad jagatakse Odoo kasutajate vahel automaatselt?
Rakendus ise ei reguleeri juurdepääsuõigusi Google Drive poolel. See tuleb teha seal käsitsi. Odoo loob Google Drive'i sihtkaustad, mis vaikimisi ei ole jagatud; õigusi saate muuta mis tahes kaustal. Näiteks täisõigused kataloogile 'Odoo' või konkreetsele 'Odoo > Sale Orders' või 'Odoo > Sale Orders > SO-001'.
Rakendus töötab ühe kasutaja lõpp-punkti põhimõttel. Kõik sünkroonimistoimingud tehakse sama Google Drive kasutaja all (vastavalt seadistatud Google API rakendusele).
Kustutasin faili Google Drive'is, aga see on Odoos endiselt alles
Faili täielikuks kustutamiseks tühjendage ka Google Drive prügikast.
Samuti võib fail olla veel Odoo-s, sest tagasisünkroonimine pole manust veel töödelnud. See on ajastatud protsess, kulub aega.
Kas Google võtab tasu API päringu alusel?
Moodul kasutab ainult tasuta API-t, seega Google teilt tasu ei võta.
Kuhu sünkroonitud väljad salvestatakse? Kas need dubleeritakse Odoo-sse ja pilvedesse?
Rakendus eeldab, et manuste binaarsisu hoitakse Cloud Clientis, mitte Odoo serveris. Seega muutuvad sellised manused Odoos URL-tüüpi manusteks ning neile pääseb igal ajal ligi kas manuste kastist või Cloud Clientist.
Pärast seadistamist pole käsitsi toiminguid vaja, sest sünkroonimine on täielikult automaatne. Otsustage, milliseid Odoo dokumenditüüpe sünkroonida, ja seadistage igaühe jaoks seotud mudel (kliendid, müügi- või ostutellimused, ülesanded, projektid jne).
Kas saan samale dokumenditüübile mitu kausta? Näiteks siseprojektid ja kliendiprojektid?
Jah, saate. Selleks valmistage igaühele reegel ja seejärel rakendage filtrid: näiteks projekti tüübi järgi.
Püüdke teha filtrid vastastikku välistavateks, et dokument saaks üheselt määratud. Näiteks „klient, kuid mitte tarnija“, „tarnija, kuid mitte klient“. Muidu hüppab konkreetse dokumendi kaust ühelt mudelilt teisele.
Kas on korras, kui sünkroonida tuleb palju objekte, näiteks 10000?
Jah, kuigi paljude kaustade/manuste sünkroonimisel võib protsess olla aeglane. Samas on kliendid teatanud keskkondadest, kus sünkrooniti >10k partnerit ja ~5k tootevarianti, ning protsessid olid vastuvõetavad.
Mõned rõhuasetused:
- Sünkroonimine on ehitatud nii, et iga üksus sünkroonitakse ega lähe kaduma, ehkki see ei pruugi olla kiire. Selle tagavad FIFO järjekorrad ja iga töö kinnitamine.
- Objektide arvu saab loogiliselt piirata. Mudelite seadistus võimaldab piirata aegunud üksuste sünkroonimist (nt pole mõtet sünkroonida arhiveeritud partnereid või 2 aastat vanu tellimusi).
Kas sünkroonimist saab teha reaalajas?
Ei. Meil on tugevad põhjused vältida reaalajas sünkroonimist:
Jõudlusprobleemid. Kui sünkroonimine oleks reaalajas, tooks iga faili üleslaadimine kaasa laadimisekraani.
Konfliktiprobleemid. Kui 2 kasutajat muudavad üksust korraga, võib tekkida lahendamata olukordi. Regulaarsete tööde korral saame selle hiljem parandada; reaalajas tuleks see salvestada järjekorrana, mis ajaks kasutajaid veelgi rohkem.
Funktsionaalsuse probleemid. Eelkõige üksuste ümbernimetamine ja ümberkorraldamine. Tagasisünkroonimisel tuginetakse rangelt kataloogiloogikale ning iga sünkroonimise ajal kontrollitakse 100% üksustest. Kui seda teha pärast iga uuendust, oleks tuhandeid päringuid sekundis. Kui mitte: muudatused läheksid kaduma.
Kas ma saan pilvedes kaustade vaike nimesid muuta?
Saate mudelite kataloogidele (müügitellimused, võimalused, tarnijad jne) anda oma nime mis tahes dokumenditüübi jaoks.
Objektide kaustade (SO-001, John Smith jne) puhul tuginetakse Odoo meetodile selle dokumenditüübi kuvanime koostamiseks. Seda saab muuta nimeavaldist määrates. Kasutatakse täpselt Odoo e-kirja mallide süntaksit.
Kas ma saan sünkroonimistööde sagedust muuta?
Ei, alates versioonist 15 ei tohiks ajastatud töid muuta. Need on optimeeritud käima iga 15 minuti järel, et tagada stabiilseim ja kiireim ühendus.
Veenduge, et Odoo serveri ajalõpud oleksid vähemalt 15 minutit (900 sekundit).
Kui peate sünkroonimise ajutiselt peatama, tehke seda konkreetse cloud client vormil.
Kas ma saan manuseid sünkroonida mõne pilve kliendiga
Jah, alates versioonist 15 saate seadistada mitu ühendust. Nii saate mõned kaustad sünkroonida ühe cloud clientiga ja teised teisega.
Arvestage, et sama kausta ei saa korraga sünkroonida mitme cloud storage’iga.
Kasutame pilvedes spetsiaalset redaktorit (nt OnlyOffice, Office 365 jne). Kas failid avataks selles redaktoris?
Jah, olenevalt teie cloud client seadistusest.
Kas mul on vaja ainult rakendust Cloud Storage Solution?
Alates versioonist 15 saab rakendust kasutada eraldiseisvalt manuste kaustadesse korraldamiseks ja failihalduri liideseks.
Kui eesmärk on ühendus mõne pilvekliendiga, tuleb paigaldada vähemalt üks valikuline kliendiga seotud rakendus.
Mis juhtub, kui muudan kaustareeglit?
Kui kaustareegel muutub, muutub ka kaustade loend. Kui kaust ei vasta enam reeglite tingimustele, eemaldatakse see. Kui failid olid sünkroonitud, toob vastassünkroon need Odoosse tagasi ja kustutab Cloud Clientist.
Kui dokumendi objekt ei vasta kaustareegli tingimustele, selle kausta ei looda. Kui see hiljem vastab, luuakse seotud kaust.
Millised on teie tööriistade uuenduspoliitikad?
Kehtivate Odoo Apps Store reeglite kohaselt:
- Iga versioonile 12.0 või varasemale ostetud moodul annab juurdepääsu kõigile versioonidele kuni 12.0.
- Alates versioonist 13.0 tuleb iga mooduliversioon osta eraldi.
- Versioonist sõltumata annab ost õiguse kõigile uuendustele ja veaparandustele peamise versiooni piires.
Pange tähele, et faOtools meeskond neid reegleid ei juhi. Küsimustega pöörduge otse Odoo Apps Store esindajate poole.
Kuidas teie rakendust Odoo.sh-i installida?
Kõige lihtsam lähenemine on kasutada Odoo poe sisseehitatud töövoogu:
1. Avage mooduli leht ja klõpsake nuppu Deploy on odoo.sh
2. Seejärel suunatakse teid GitHubi lehele. Logige kontole sisse, seejärel klõpsake 'Create a new repo' või kasutage olemasolevat. Veenduge, et hoidla on privaatne. Rakendusi ei tohi OPL-1 litsentsi all avaldada. Vajadusel looge Odoo.sh projekti jaoks uus repo
3. Seejärel minge odoo.sh-i ja klõpsake nuppu Deploy. Hüpikaknas esitage otsus ja klõpsake 'Continue.' See käivitab paigalduse.
Need sammud paigaldavad rakenduse projekti tootmisharusse. Kui soovite rakendusi teistesse harudesse juurutada või moodulit uuendada, tehke järgmist:
1. Laadige rakenduse lähtekood Odoo poest üles
2. Tehke moodulile commit vajalikku GitHubi hoidlasse. Veenduge, et ühtegi rakenduse kausta/faili ei ignoreerita (st need ei ole repo .gitignore-s). Hoidlad loob odoo.sh automaatselt ja need võivad vaikimisi sisaldada olulisi kirjeid (nt /lib). Laadige üles kõik mooduli kataloogid, alamkataloogid ja failid eranditeta
3. Juurutage odoo.sh projekti sihtharu või, kui seaded seda eeldavad, oodake, kuni see automaatselt ehitatakse.
Kuidas teie rakendust oma serverisse installida?
2. Taaskäivita Odoo server;
3. Lülita sisse arendajarežiim (tehnilised seaded);
4. Värskenda rakenduste loendit (rakenduste menüü);
5. Leia rakendus ja vajuta „Activate“/„Install“;
6. Järgi rakenduse lehe juhiseid, kui need on olemas.
Märkasin, et teie rakendusel on lisasid. Kas võin need hiljem osta?
Jah, muidugi. Samal ajal lisab Odoo kõik sõltuvused automaatselt ostukorvi, seega peate varem ostetud tööriistad välja jätma, et vältida topeltmakset.
Paigaldasin teie rakenduse Odoo.sh-i ja näen testides hoiatust/viga
Punane/oranž hoiatus ei mõjuta rakenduse funktsioone. Kahjuks ei läbi meie moodulid mõnikord standardseid automaatteste, sest need eeldavad käitumist, mis on vastuolus rakenduse eesmärkidega. Näiteks muudame hinnaarvutust, samas kui standardse Odoo mooduli testid võrdlevad lõpphinda standardalgoritmiga.
Kõigepealt kontrollige juurutatud andmebaasi funktsioone. Kas kõik töötab õigesti?
Kui arvate endiselt, et hoiatus mõjutab tegelikke funktsioone, võtke meiega ühendust ja saatke täielikud paigalduslogid ning kõigi juurutatud moodulite loend (sh tuum ja kolmanda osapoole).
Kas ma saan rakenduse otse teie ettevõttelt osta?
Ei, jagame tööriistu ainult ametliku Odoo rakendustepoe.
Soovin allahindlust
Kahjuks pole meil tehnilisi vahendeid individuaalhindade pakkumiseks.
Kas ma saan rakenduse paigaldada oma Odoo Online (SaaS) andmebaasi?
Ei, kolmanda osapoole rakendusi ei saa Odoo Online’is kasutada. Kahjuks Odoo SaaS blokeerib selle.
Teie tööriist sõltub teistest rakendustest. Kas pean need ostma?
Jah, tööriist vajab kõiki sõltuvustes märgitud mooduleid, et töötada õigesti. Rakenduse lehel märgitud hind sisaldab juba kõiki vajalikke sõltuvusi.
Mis on mooduli hind USA dollarites? Miks see muutus?
Meie moodulite hind on eurodes. Odoo pood teisendab hinnad teistesse valuutadesse oma sisemise kursi järgi. Seega võib USA dollarites hind muutuda, kui kurss uueneb.
Rakenduse ja veebilehe sõnastus muudes keeltes kui inglise on tehisintellekti abil ja kooskõlas ametlike Odoo tõlgetega. Kui märkate viga, saatke pilet tõlgete õigsuse kohta ja parandame selle.
Odoo demonstratsiooniandmebaasid (otse eelvaated)
Selle rakenduse jaoks võime pakkuda tasuta personaliseeritud demoandmebaasi.
Meiega ühenduse võtmiseks pole telefoninumbrit ega krediitkaarti vaja. Piisab lühikesest e-posti registreerimisest, mis ei kesta üle 30 sekundi.
Teie taotlusel valmistame individuaalse otse eelvaate andmebaasi, kus saate umbes kaks nädalat teha teste ja kontrollida eeldusi.
Vigadest teatamine
Kui kohtate vigu või ebajärjekindlat käitumist, võtke julgelt ühendust. Tagame parandused 60 päeva jooksul ostust ja oleme huvitatud tööriistade täiustamisest ka pärast seda perioodi.
Meiega ühenduse võtmiseks pole telefoninumbrit ega krediitkaarti vaja. Piisab lühikesest e-posti registreerimisest, mis ei kesta üle 30 sekundi.
Lisage taotlusse võimalikult palju üksikasju: kuvatõmmised, Odoo serveri logid, täielik kirjeldus probleemi taasesitamiseks jne. Tavaliselt kulub mõni tööpäev, et koostada tööplaan (kui viga kinnitatakse) või anda juhised, mida teha (muul juhul).
Avalikud funktsioonisoovid ja mooduliideed (tasuta arendus)
Oleme tugevalt motiveeritud oma tööriistu parandama ja oleme tänulikud iga tagasiside eest. Kui teie nõuded on üldkasulikud ja neid saab tõhusalt ellu viia, lisab meeskond need meie ülesannete loendisse.
Sellist ülesannete loendit töödeldakse regulaarselt ja lisatasusid ei kaasne. Kuigi me ei saa lubada tähtaegu ega lõplikku kujundust, võib see olla hea viis soovitud funktsioonide saamiseks ilma investeeringute ja riskideta.
Meiega ühenduse võtmiseks pole telefoninumbrit ega krediitkaarti vaja. Piisab lühikesest e-posti registreerimisest, mis ei kesta üle 30 sekundi.
The tool to build a deep and structured knowledge base for internal and external use. Knowledge System. KMS. Wiki-like revisions.
398€The tool for time-based service management from booking appointments to sales and reviews
The tool to set up KPI targets and control their fulfillment by periods. KPI dashboards. Dashboard designer. KPI charts
198€Tööriist Odoo haldamiseks lemmik AI vestlustest MCP kaudu. Claude. Iga MCP-d toetav AI.
198€The tool to flexibly structure Odoo attachments in folders and synchronize directories with cloud clients: Google Drive, OneDrive/SharePoint, Nextcloud/ownCloud, and Dropbox. DMS. File Manager. Document management system
The tool to automatically synchronize Odoo attachments with OneDrive files in both ways
The tool to automatically synchronize Odoo attachments with ownCloud/Nextcloud files in both ways
The tool to automatically synchronize Odoo attachments with DropBox files in both ways