Google Drive Odoo Integration v.13
The tool to automatically synchronize Odoo attachments with Google Drive files in both ways
- the technical core which provides basic mechanics of auto synchronization. This is a required module for integration.
Cena je
398€
358€.
- the connector itself which introduces links between Odoo and Google Drive.
Cena je
89€
80€.
- an optional add-on to sync Odoo documents (introduced by the enterprise app 'Documents') with clouds. The features assumed by this add-on are marked by the icon .
Cena je
44€
39€.
Selectable documents types for sync
The tool let you split any business model into a few directories. Have a separate folder for individuals and companies, for European and American opportunities, for each project, etc.
Moreover, it is possible to guarantee that only topical documents are synced by using relative periods: leads registered in the last 3 months, invoices updated the last week, and so on.
Typical use cases
- Projects: have an own Google Drive folder for each customer project.
- Customers: add all partner files in a single directory available both from Odoo and from Google Drive. Modify those using default cloud editors and access them when working in Odoo.
- Employees: gather all files by this employee in a single cloud folder: photos, document scans, contracts. Access and upload those from Odoo and Google Drive alternatively.
- Opportunities: carefully store all specifications, requirements, any files which would let you make a good offer.
- Orders: keep all printings and contracts in Google Drive with simple availability from Odoo.
Posnetek zaslona
Choose document types to be synced
Document type might have a few folders based on filters
Automatic and bilateral integration
Synced attachments are physically kept only in a cloud storage, what increases Odoo interface performance. Simultaneously, you can open documents from Odoo or download those in a single click.
How files and folders are synced from Odoo to Google Drive
Based on the scheduled job 'Synchronize attachments with cloud' Odoo regularly checks whether:
- Any new attachment should be forwarded to Google Drive;
- Any new document type (e.g. Sale orders) is added / replaced / renamed as a sync model and, hence, whether a directory should be created / removed / renamed in Google Drive;
- Any new document (e.g. Sale Order SO019) is generated / updated / unlinked and, hence, whether a Google Drive folder should be created / moved or renamed / deleted.
- Any new attachment should be removed from Google Drive if it has been deleted from Odoo.
Based on results of that checks, Odoo starts processing queue of changes, and makes sure that all items are located correctly. The final goal is to have the structure 'Odoo / Document Types / Documents / Files. For example, 'Odoo / Quotations / SO019 / commercial offer.pdf'.
During the synchronization all synced Odoo attachments change their type to a link (URL), while binary content is removed with a next Odoo cleaner. So, no actual files would be stored on your Odoo server.
Please take into account:
- Each sync (especially the very first one) might take quite a long. It is not recommended to make sync too frequent: once an hour seems reasonable frequency.
- File names should be managed in Google Drive: each backward sync would recover Google Drive names, Odoo is here less important.
How items are retrieved from Google Drive to Odoo
Based on the scheduled job 'Synchronize attachments from cloud' Odoo regularly checks whether:
- Any file is added / moved / removed in a Google Drive document folder. If yes, Odoo would create a link to this file in a target object (e.g. a new attachment to SO019) or would move / delete such an attachment.
- Any file of a Google Drive document folder is renamed. If yes, an attachment would be renamed in Odoo as well.
- In document folders you can put not only files but also child folders. In that case a link for this folder (not its content) would be kept in Odoo attachments.
- If you deleted a folder related to this document type or this document, their child files would be deleted as well. Thus, Odoo would remove related attachments. The folders, however, will be recovered with a next direct sync.
- Each backward sync might take quite a long. It is not recommended to make sync too frequent: once an hour seems safe enough.
Posnetek zaslona
Synced files are simply found in Google Drive. Add unlimited number of files or folders
Document types folders in Google Drive
All document of this type has an own folder
Direct access to Google Drive items
- Click on attachment to open it in Google Drive in a new tab (necessary to be logged in Google Drive);
- Click the icon of cloud to start downloading file from Google Drive (no extra check in is required)
- Push the button "Open cloud folder" to open all files related to this document.
Posnetek zaslona
Quick access to Google Drive files and folders
Apply to Google Drive right from Odoo chatter
Individual and team drives
Fully integrated and compatible with Enterprise Documents
It does not contradict printing, mailing, or Enterprise documents features.
For the latter it is also possible to fully reflect directories structure, not only sync standard attachments.
How Odoo Enterprise Documents are synced
This tool is not in conflict with the 'documents' module provided under the Enterprise license. Attachments related to Enterprise folders would be synced as any other files: according to a document they relate to.
It is not always comfortable, and you might be interested in reflecting directories' structure introduced by the module 'Documents'. To this end the special extension is developed. This extension introduces the following features:
- The documents hierarchy is reflected within the folder 'Odoo / Odoo Docs'
- Each Odoo folder has a linked cloud folder. Take into account that folders created in the cloud storage will be synced as Odoo attachments. The key principle is: folders are managed by Odoo, files are managed by the cloud client
- All files are synced with the same logic as usual attachments. Files created in Odoo will be added to the cloud storage and will be replaced with links in Odoo. Files created in cloud storage will generate attachments within a paired directory
- Please do not name synced models as 'Odoo Docs'. This is the reserved name for Odoo Enterprise Documents
A few important peculiarities to take into account
- Take into account that files or folders deleted in Google Drive are really deleted only when you clean trash. Otherwise, such files still exist and would be reflected in Odoo
- Try to avoid the following symbols in folders' and files' names: *, ?, ", ', :, <, >, |, +, %, !, @, \, /,. Direct sync will replace such symbols with '-'. It is done to avoid conflicts with file systems.
Posnetek zaslona
Direct access from Odoo documents to Google Drive
Enterprise Documents in Google Drive
Enterprise files 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.
Google Drive Sync logs in Odoo
Posnetek zaslona
Logged synchronization activities
Default folders for documents
Nasveti za konfiguracijo in namestitev za Google Drive Odoo Integration Odoo v.13
Login and Google Drive Credentials
- 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 the Odoo Google Drive Settings
- Copy 'Client ID' from step 8 into the field 'App Client ID'
- Copy 'Client secret' from step 8 into the field 'App Secret Key'
- Insert the redirect URL you entered in step 8
- 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 this team drive
- Press 'Save'
- Press 'Login and Confirm'. Odoo redirects you to Google login page. Check in, agree with all conditions, and grant permissions asked
- After login, Google redirects you back to Odoo. Google Drive - Odoo synchronization is ready to be done.
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
Odoo server configuration and cron job configuration
To make sure the synchronization works correctly apply proper timeouts to the Odoo configuration file: LIMIT_TIME_CPU, LIMIT_TIME_REAL, LIMIT_TIME_REAL_CRON should be more than 900 seconds.
For Odoo.sh this should not be done, since timeouts are predefined and are not configurable.
Then, timeout should be entered to your Odoo. To that goal find the section 'Settings' on the app configuration page and copy the number there.
Afterwards, it is needed to make the cron jobs suit the applied timeouts. In the debug mode go to the Settings > Technical > Automation > Scheduled Jobs:
- Set up the job 'Synchronize attachments with cloud' as (a) frequency - 2*timeout; (b) the next execution as the next hour +timeout. For example, for 900seconds timeout: frequency - as 30minutes; the next execution - at 08:15
- Set up the job 'Synchronize attachments from cloud' as (a) frequency - 2*timeout; (b) the next execution as the next hour + timeout*2. For example, for 900seconds timeout: frequency - as 30minutes; the next execution- at 08:30.
Pogosta vprašanja o Google Drive Odoo Integration Odoo v.13
Ali se ustvarjene mape Google Drive samodejno delijo med uporabniki Odoo?
Aplikacija sama ne ureja pravic dostopa na strani Google Drive. To je treba storiti tam ročno. Odoo ustvari ciljne mape v Google Drive, ki privzeto niso v skupni rabi, dovoljenja pa lahko spremenite za katero koli mapo. Na primer polne pravice za imenik 'Odoo' ali za določen 'Odoo > Sale Orders' ali 'Odoo > Sale Orders > SO-001'.
Aplikacija deluje po načelu ene uporabniške končne točke. Vse sinhronizacije potekajo pod istim uporabnikom Google Drive (glede na konfigurirano aplikacijo Google API).
Izbrisal sem datoteko v Google Drive, vendar je še v Odoo
Če želite datoteko popolnoma izbrisati, izpraznite tudi koš v Google Drive.
Datoteka je lahko še v Odoo, ker povratna sinhronizacija priloge še ni obdelala. To je načrtovan proces, potreben je čas.
Ali me bo Google zaračunal glede na zahtevo API?
Modul uporablja samo brezplačni API, zato vas Google ne bo zaračunal.
Ali lahko spremenim pogostost sinhronizacijskih opravil?
Da, lahko. V ta namen:
Vklopite način za odpravljanje napak
Pojdite v tehnične nastavitve > Avtomatizacija > Načrtovana opravila
Poiščite opravila 'Synchronize attachments with cloud' in 'Update attachments from cloud'.
Ne nastavljajte jih preveč pogosto. Zaželeno je, da se opravilo konča, preden se začne naslednje. Nastavitev je odvisna od tega, koliko elementov morate sinhronizirati. Pogostost je običajno med 15 minutami in 4 urami.
Prepričajte se tudi, da ste v konfiguracijski datoteki Odoo nastavili dovolj dolge časovne omejitve. Parametra LIMIT_TIME_CPU in LIMIT_TIME_REAL morata biti enaka ali večja od načrtovanega časa cron opravila. Od različice 13 upoštevajte tudi parameter LIMIT_TIME_REAL_CRON.
Pomembno obvestilo za stranke Odoo.sh: najdaljši čas cron opravila je lahko le 15 minut.
Ali lahko nastavim drugačno strukturo sinhroniziranih imenikov, kot jo predvideva sinhronizacija?
Ne, ta funkcija je na voljo šele od različice 15. Pred to različico modul deluje z vnaprej določeno strukturo map:
Odoo - osrednja mapa za sinhronizacijo
Models - mape za vsak tip dokumenta Odoo. Na primer 'Projects', 'Partners'. Po domeni so lahko bolj specifične mape: npr. 'Customer 1 Projects', 'Projects of the Customer 2', 'Internal Projects' itd.
Objects - mape za vsak dokument, npr. 'Project 1' ali 'Customer 1'
Datoteke in mape, povezane s tem dokumentom Odoo, ki se sinhronizirajo.
Kot rezultat lahko imate na primer:
Odoo / Projects / Project 1 / datoteke in mape, povezane s project 1
Odoo / Customer 1 Projects / Project 1; Odoo / Customer 2 Projects / Project 3, ...
Odoo / Customers / Customer 1 / datoteke in mape, povezane s customer 1
Ta struktura je vedno ploščata, kar pomeni, da obstajajo samo te ravni hierarhije. Zato drži, da različnih tipov dokumentov ni mogoče imeti v isti strukturi. V mapi 'Customer 1' ne moremo hraniti datotek, povezanih hkrati s prodajnimi naročili, računi in projekti. Vsak od teh tipov dokumentov ima lastno mapo (ali nekaj lastnih). Sicer povratne sinhronizacije ne bi mogli narediti, ker ne bi bilo merila, na katero bi se oprli.
Ali naj v Odoo nastavim dostope določenih uporabnikov?
Ne, orodje temelji na eni uporabniški končni točki. Vsi sinhronizacijski procesi potekajo pod enim skrbnikom oblaka (aplikacijo). Pravice dostopa za ustvarjene mape / datoteke niso avtomatizirane. Te pravice morate upravljati v svoji rešitvi za shranjevanje v oblaku.
Kje so shranjena sinhronizirana polja? Ali so podvojena v Odoo in clouds?
Aplikacija predvideva, da je binarna vsebina priponk shranjena v Cloud Client namesto na strežniku Odoo. Take priponke v Odoo postanejo vrste URL in do njih lahko kadar koli dostopate iz polja priponk ali iz Cloud Client.
Po nastavitvi ročna dejanja niso potrebna, saj je sinhronizacija povsem samodejna. Odločite se, kateri tipi dokumentov Odoo naj se sinhronizirajo, in za vsakega nastavite povezan model (stranke, prodajni ali nabavni nalogi, opravila, projekti itd.).
Ali lahko imam več map za isti tip dokumenta? Na primer notranji projekti in projekti strank?
Da, lahko. V ta namen pripravite pravilo za vsakega in nato uporabite filtre: na primer po tipu projekta.
Filtre naredite medsebojno izključujoče, da se dokument lahko nedvoumno dodeli. Na primer „stranka, vendar ne dobavitelj“, „dobavitelj, vendar ne stranka“. Sicer mapa določenega dokumenta skače z enega modela na drugega.
Ali potrebujem samo aplikacijo Cloud Storage Solution?
Ne, orodje je le tehnično jedro. Potrebujete tudi konektor za svoj cloud client.
Je v redu, če imam veliko objektov za sinhronizacijo, na primer 10000?
Da, čeprav je pri mnogih mapah/priponkah za sinhronizacijo postopek lahko počasen. Hkrati so stranke poročale o okoljih z >10k partnerji in ~5k različicami izdelkov za sinhronizacijo, postopki pa so bili sprejemljivi.
Nekaj poudarkov:
- Sinhronizacija je zasnovana tako, da se vsak element sinhronizira in ne izgubi, čeprav morda ni hitra. To zagotavljajo vrste FIFO in vsako potrjeno opravilo.
- Število objektov je mogoče logično omejiti. Konfiguracija modelov omogoča omejitev sinhronizacije zastarelih elementov (npr. ni smiselno sinhronizirati arhiviranih partnerjev ali nalogov, starih 2 leti).
Ali je mogoča sinhronizacija v realnem času?
Ne. Imamo tehtne razloge, da se izognemo sinhronizaciji v realnem času:
Težave z zmogljivostjo. Če je sinhronizacija v realnem času, vsak prenos datoteke prikaže zaslon nalaganja.
Težave s konflikti. Če 2 uporabnika hkrati spremenita element, lahko nastanejo nerešene situacije. Pri rednih opravilih to lahko popravimo pozneje; v realnem času bi to morali shraniti kot vrsto, kar bi uporabnike še bolj zmedlo.
Težave s funkcionalnostjo. Zlasti preimenovanje in prestrukturiranje elementov. Pri povratni sinhronizaciji se orodje strogo opira na logiko imenikov in pri vsaki sinhronizaciji preveri 100 % elementov. Če bi to potekalo po vsaki posodobitvi, bi bilo tisoče zahtev na sekundo. Če ne: spremembe bi se izgubile.
Ali lahko sinhroniziram priloge z nekaj oblačnimi odjemalci
Ne, ta funkcija je na voljo šele od različice 15.
V naših oblakih uporabljamo poseben urejevalnik (npr. OnlyOffice, Office 365 itd.). Bi se datoteke odprle v tem urejevalniku?
Da, odvisno od konfiguracije cloud client.
Kakšne so politike posodobitev vaših orodij?
Glede na veljavna pravila Odoo Apps Store:
- Vsak modul, kupljen za različico 12.0 in starejše, omogoča dostop do vseh različic do 12.0.
- Od različice 13.0 je treba vsako različico modula kupiti posebej.
- Ne glede na različico nakup daje pravico do vseh posodobitev in popravkov znotraj glavne različice.
Upoštevajte, da ekipa faOtools teh pravil ne nadzoruje. Za vprašanja se obrnite neposredno na predstavnike Odoo Apps Store.
Kako namestim vašo aplikacijo na Odoo.sh?
Najbolj neposreden pristop je uporaba vgrajenega poteka dela trgovine Odoo:
1. Odprite stran modula in kliknite gumb Deploy on odoo.sh
2. Nato boste preusmerjeni na stran GitHub. Prijavite se v račun, nato kliknite 'Create a new repo' ali uporabite obstoječega. Poskrbite, da je skladišče zasebno. Objavljanje aplikacij pod licenco OPL-1 ni dovoljeno. Po potrebi ustvarite nov repo za projekt Odoo.sh
3. Nato pojdite na odoo.sh in kliknite gumb Deploy. V pojavnem oknu potrdite odločitev in kliknite 'Continue.' To sproži namestitev.
Ti koraki namestijo aplikacijo na produkcijsko vejo projekta. Če želite aplikacije namestiti na druge veje ali posodobiti modul, opravite naslednje:
1. Naložite izvorno kodo aplikacije iz trgovine Odoo
2. Naredite commit modula v zahtevano skladišče GitHub. Poskrbite, da ni nobena mapa/datoteka aplikacije prezrta (tj. ni v .gitignore skladišča). Skladišča samodejno ustvari odoo.sh in lahko privzeto vsebujejo ključne elemente (npr. /lib). Naložite vse imenike, podimenike in datoteke modula brez izjem
3. Namestite ciljno vejo projekta odoo.sh ali, če to predvidevajo nastavitve, počakajte, da se samodejno izgradi.
Kako namestim vašo aplikacijo na lastnem strežniku?
2. Znova zaženite strežnik Odoo;
3. Vklopite način za razvijalce (tehnične nastavitve);
4. Posodobite seznam aplikacij (meni aplikacij);
5. Poiščite aplikacijo in pritisnite „Activate“/„Install“;
6. Sledite smernicam na strani aplikacije, če obstajajo.
Opazil sem, da ima vaša aplikacija dodatne dodatke. Jih smem kupiti pozneje?
Da, seveda. Hkrati Odoo samodejno doda vse odvisnosti v košarico, zato morate predhodno kupljena orodja izključiti, da se izognete dvojnemu plačilu.
Namestil sem vašo aplikacijo na Odoo.sh in v testih vidim opozorilo/napako
Rdeče/oranžno opozorilo ne vpliva na funkcije aplikacije. Žal naši moduli včasih ne opravijo standardnih samodejnih testov, ker ti predvidevajo vedenje, ki je v nasprotju s cilji aplikacije. Na primer spreminjamo izračun cene, medtem ko testi standardnega modula Odoo primerjajo končno ceno s standardnim algoritmom.
Najprej preverite funkcije nameščene zbirke. Ali vse deluje pravilno?
Če še vedno menite, da opozorilo vpliva na resnične funkcije, nas kontaktirajte in pošljite popolne dnevnike namestitve ter popoln seznam nameščenih modulov (vključno z jedrom in tretjimi).
Ali lahko kupim aplikacijo neposredno pri vašem podjetju?
Ne, orodja razširjamo samo prek uradne trgovine aplikacij Odoo.
Rad bi dobil popust
Žal nimamo tehničnih sredstev za individualne cene.
Ali lahko namestim aplikacijo v svojo zbirko Odoo Online (SaaS)?
Ne, aplikacij tretjih oseb ni mogoče uporabljati na Odoo Online. Žal Odoo SaaS to preprečuje.
Vaše orodje je odvisno od drugih aplikacij. Ali jih moram kupiti?
Da, orodje potrebuje vse module, označene v odvisnostih, da deluje pravilno. Cena na strani aplikacije že vključuje vse potrebne odvisnosti.
Kakšna je cena modula v ameriških dolarjih? Zakaj se je spremenila?
Cena naših modulov je v evrih. Trgovina Odoo pretvarja cene v druge valute po notranjem tečaju. Zato se lahko cena v ameriških dolarjih spremeni, ko se tečaj posodobi.
Besedila aplikacije in spletnega mesta v jezikih, ki niso angleščina, so pripravljena z UI in usklajena z uradnimi prevodi Odoo. Če opazite napako, pošljite zahtevek o pravilnosti prevodov in jo bomo popravili.
Prijavljanje napak
Če naletite na napake ali nedosledno vedenje, nas ne oklevajte kontaktirati. Zagotavljamo popravke v 60 dneh od nakupa in tudi po tem obdobju želimo izboljševati orodja.
Za stik ne potrebujete telefonske številke niti kreditne kartice. Potrebna je le kratka prijava z e-pošto, ki ne traja več kot 30 sekund.
V zahtevo vključite čim več podrobnosti: posnetke zaslona, dnevnike strežnika Odoo, celoten opis ponovitve težave in podobno. Običajno traja nekaj delovnih dni, da pripravimo delovni načrt (če je napaka potrjena) ali smernice, kaj storiti (sicer).
Javne zahteve za funkcije in ideje modulov (brezplačen razvoj)
Močno nas žene izboljševanje orodij in hvaležni smo za vsako povratno informacijo. Če so vaše zahteve v splošno korist in jih je mogoče učinkovito uresničiti, jih bo ekipa vključila na naš seznam opravil.
Tak seznam opravil obdelujemo redno in ne predvideva dodatnih stroškov. Čeprav ne moremo obljubiti rokov in končne zasnove, je to lahko dober način, da dobite želene funkcije brez naložb in tveganj.
Za stik ne potrebujete telefonske številke niti kreditne kartice. Potrebna je le kratka prijava z e-pošto, ki ne traja več kot 30 sekund.
Orodje za izgradnjo globoke in strukturirane baze znanja za notranjo in zunanjo rabo. Knowledge System. KMS. Revizije v slogu wikija.
398€Orodje za časovno upravljanje storitev od rezervacije terminov do prodaje in ocen
Orodje za nastavitev ciljev KPI in nadzor izpolnitve po obdobjih. Nadzorne plošče KPI. Oblikovalec plošč. Grafikoni KPI
198€Orodje za upravljanje Odoo iz priljubljenih AI klepetov prek MCP. Claude. Kateri koli AI s podporo MCP.
198€Orodje za prilagodljivo razvrščanje prilog Odoo v mape in sinhronizacijo imenikov z oblačnimi odjemalci: Google Drive, OneDrive/SharePoint, Nextcloud/ownCloud, Dropbox, Amazon S3, Box in NAS. DMS. Upravitelj datotek. Sistem za upravljanje dokumentov
Orodje za samodejno dvosmerno sinhronizacijo prilog Odoo z datotekami OneDrive
Orodje za samodejno dvosmerno sinhronizacijo prilog Odoo z datotekami ownCloud/Nextcloud
Orodje za samodejno dvosmerno sinhronizacijo prilog Odoo z datotekami DropBox