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.
Tips konfigurasi dan instalasi untuk 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 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
Pertanyaan umum tentang Google Drive Odoo Integration Odoo v.15
Apakah folder Google Drive yang dibuat otomatis dibagikan di antara pengguna Odoo?
Aplikasi sendiri tidak mengatur hak akses di sisi Google Drive. Itu harus dilakukan secara manual di sana. Odoo membuat folder sasaran di Google Drive, yang secara default tidak dibagikan, sementara izin dapat diubah untuk folder mana pun. Misalnya, hak penuh untuk direktori 'Odoo' atau untuk 'Odoo > Sale Orders' atau 'Odoo > Sale Orders > SO-001'.
Aplikasi bekerja dengan prinsip satu titik akhir pengguna. Semua operasi sinkron dilakukan di bawah pengguna Google Drive yang sama (sesuai aplikasi Google API yang Anda konfigurasi).
Saya menghapus file di Google Drive tetapi masih ada di Odoo
Untuk menghapus berkas sepenuhnya, kosongkan juga tempat sampah di Google Drive.
Juga, berkas mungkin masih ada di Odoo karena sinkronisasi mundur belum memproses lampiran. Ini proses terjadwal, butuh waktu.
Apakah Google akan menagih berdasarkan permintaan API?
Modul hanya memakai API gratis, jadi Google tidak akan menagih Anda.
Kolom tersinkron disimpan di mana? Apakah diduplikasi ke Odoo dan clouds?
Aplikasi mengasumsikan konten biner lampiran disimpan di Cloud Client, bukan di server Odoo. Lampiran semacam itu di Odoo menjadi tipe URL, dan Anda dapat membukanya kapan saja dari kotak lampiran atau dari Cloud Client.
Setelah penyiapan, tidak perlu tindakan manual karena sinkronisasi sepenuhnya otomatis. Tentukan jenis dokumen Odoo yang harus disinkronkan dan siapkan model terkait untuk masing-masing (Pelanggan, pesanan penjualan atau pembelian, Tugas, Project, dll.).
Bisakah saya punya beberapa folder untuk jenis dokumen yang sama? Misalnya, proyek internal dan proyek pelanggan?
Ya, Anda bisa. Untuk itu siapkan aturan untuk masing-masing, lalu terapkan filter: misalnya menurut jenis project.
Usahakan filter saling eksklusif agar dokumen dapat ditetapkan dengan pasti. Misalnya 'pelanggan tetapi bukan pemasok', 'pemasok tetapi bukan pelanggan'. Jika tidak, folder dokumen tertentu akan meloncat dari satu model ke model lain.
Apa tidak apa-apa jika ada banyak objek untuk disinkronkan, misalnya 10000?
Ya, meski jika banyak folder/lampiran yang perlu disinkronkan prosesnya bisa lambat. Pada saat yang sama, klien melaporkan lingkungan dengan >10k rekanan dan ~5k varian produk untuk disinkronkan, dan prosesnya tetap diterima.
Beberapa poin yang perlu ditekankan:
- Sinkronisasi dibangun agar setiap item disinkronkan dan tidak hilang, meski mungkin tidak cepat. Hal ini dijamin oleh antrean first-in-first-out dan setiap job yang dikomit.
- Jumlah objek dapat dibatasi secara logis. Konfigurasi model memungkinkan membatasi sinkronisasi item usang (misalnya tidak ada gunanya menyinkronkan rekanan yang diarsipkan atau pesanan 2 tahun lalu).
Apakah sinkronisasi dapat dibuat real-time?
Tidak. Kami punya alasan kuat untuk menghindari sinkronisasi waktu nyata:
Masalah kinerja. Jika sinkronisasi waktu nyata, setiap unggah berkas akan menampilkan layar pemuatan.
Masalah konflik. Jika 2 pengguna mengubah item secara bersamaan, dapat timbul situasi yang tak terselesaikan. Pada job berkala kami dapat memperbaikinya kemudian; pada waktu nyata harus disimpan sebagai antrean, yang lebih membingungkan pengguna.
Masalah fungsionalitas. Khususnya penggantian nama dan penataan ulang item. Pada sinkronisasi balik, alat sangat mengandalkan logika direktori, dan setiap sinkronisasi 100% item diperiksa. Jika dilakukan setelah setiap pembaruan, akan ada ribuan permintaan per detik. Jika tidak: perubahan akan hilang.
Bolehkah saya mengubah nama folder bawaan di cloud?
Anda dapat memberi nama sendiri untuk direktori model (sale order, peluang, pemasok, dll.) pada jenis dokumen apa pun.
Untuk folder objek (SO-001, John Smith, dll.), alat mengandalkan metode Odoo untuk menyusun nama tampilan jenis dokumen ini. Namun Anda dapat mengubahnya dengan mendefinisikan ekspresi nama. Sintaks yang dipakai sama persis dengan templat email Odoo.
Bolehkah saya mengubah frekuensi pekerjaan sinkronisasi?
Tidak, mulai versi 15 Anda tidak boleh mengubah job terjadwal. Job dioptimalkan berjalan setiap 15 menit agar koneksi paling stabil dan cepat.
Pastikan batas waktu server Odoo setidaknya 15 menit (900 detik).
Jika perlu menghentikan sinkronisasi sementara, lakukan di formulir cloud client tertentu.
Bolehkah saya menyinkronkan lampiran ke beberapa klien cloud
Ya, mulai versi 15 Anda dapat mengatur beberapa koneksi. Dengan begitu sebagian folder disinkronkan ke satu cloud client, yang lain ke yang lain.
Perhatikan bahwa folder yang sama tidak dapat disinkronkan ke beberapa cloud storages sekaligus.
Kami memakai editor khusus di cloud kami (mis. OnlyOffice, Office 365, dll.). Apakah file akan dibuka di editor itu?
Ya, tergantung konfigurasi cloud client Anda.
Apakah saya hanya perlu aplikasi Cloud Storage Solution?
Mulai versi 15, aplikasi dapat dipakai mandiri untuk menata lampiran dalam folder dan menyediakan antarmuka manajer berkas.
Namun jika tujuannya koneksi dengan salah satu klien awan, Anda perlu memasang setidaknya satu aplikasi opsional terkait klien.
Apa yang terjadi saat saya mengubah aturan folder?
Saat aturan folder berubah, daftar folder juga berubah. Jika folder tidak lagi memenuhi kondisi aturan, folder itu dihapus. Jika file sudah disinkronkan, sinkron terbalik mengembalikannya ke Odoo dan menghapusnya dari Cloud Client.
Jika objek dokumen tidak memenuhi kondisi aturan folder, foldernya tidak akan dibuat. Jika nanti memenuhi, folder terkait akan dihasilkan.
Apa kebijakan pembaruan alat Anda?
Menurut kebijakan Odoo Apps Store saat ini:
- Setiap modul yang dibeli untuk versi 12.0 dan sebelumnya memberi akses ke semua versi hingga 12.0.
- Mulai versi 13.0, setiap versi modul harus dibeli terpisah.
- Terlepas dari versi, pembelian memberi hak atas semua pembaruan dan perbaikan bug dalam versi mayor.
Perhatikan bahwa tim faOtools tidak mengontrol kebijakan tersebut. Untuk pertanyaan, hubungi langsung perwakilan Odoo Apps Store.
Bagaimana memasang aplikasi Anda di Odoo.sh?
Pendekatan paling langsung adalah memakai alur bawaan toko Odoo:
1. Buka halaman modul dan klik tombol Deploy on odoo.sh
2. Setelah itu Anda akan diarahkan ke halaman GitHub. Masuk ke akun, lalu klik 'Create a new repo' atau pakai yang sudah ada. Pastikan repositori bersifat privat. Tidak diizinkan memublikasikan aplikasi di bawah lisensi OPL-1. Jika perlu, buat repo baru untuk proyek Odoo.sh
3. Lalu buka odoo.sh dan klik tombol Deploy. Di jendela pop-up, kirim keputusan dan klik 'Continue.' Tindakan ini memicu proses pemasangan.
Langkah ini akan memasang aplikasi di cabang produksi proyek. Jika ingin men-deploy aplikasi ke cabang lain atau memperbarui modul, lakukan tindakan berikut:
1. Unggah kode sumber aplikasi dari toko Odoo
2. Commit modul ke repositori GitHub yang diperlukan. Pastikan tidak ada folder/file aplikasi yang diabaikan (yaitu tidak ada di .gitignore repo). Repositori dibuat otomatis oleh odoo.sh dan secara default dapat berisi item penting (mis., /lib). Unggah semua direktori, subdirektori, dan file modul tanpa kecuali
3. Deploy cabang target proyek odoo.sh atau, jika pengaturan Anda mengasumsikan itu, tunggu hingga dibangun otomatis.
Bagaimana memasang aplikasi Anda di server saya sendiri?
2. Mulai ulang server Odoo;
3. Aktifkan mode pengembang (pengaturan teknis);
4. Perbarui daftar aplikasi (menu aplikasi);
5. Temukan aplikasi dan tekan 'Activate'/'Install';
6. Ikuti panduan di halaman aplikasi jika ada.
Saya melihat aplikasi Anda punya add-on tambahan. Boleh beli belakangan?
Ya, tentu. Pada saat yang sama Odoo otomatis menambahkan semua dependensi ke keranjang, jadi Anda harus mengecualikan alat yang sudah dibeli agar tidak membayar dua kali.
Saya men-deploy aplikasi Anda di Odoo.sh dan melihat peringatan/kesalahan di tes
Peringatan merah/oranye tidak memengaruhi fitur aplikasi. Sayangnya, modul kami kadang tidak lulus uji otomatis standar karena uji itu mengasumsikan perilaku yang bertentangan dengan tujuan aplikasi. Misalnya kami mengubah penghitungan harga, sementara uji modul Odoo standar membandingkan harga akhir dengan algoritma standar.
Pertama-tama, periksa fitur basis data yang diterapkan. Apakah semuanya berjalan benar?
Jika Anda masih menganggap peringatan memengaruhi fitur nyata, hubungi kami dan kirim log instalasi lengkap serta daftar lengkap modul yang diterapkan (termasuk inti dan pihak ketiga).
Bolehkah saya membeli aplikasi langsung dari perusahaan Anda?
Tidak, kami hanya mendistribusikan alat melalui toko aplikasi Odoo resmi.
Saya ingin mendapat diskon
Sayangnya, kami tidak punya sarana teknis untuk memberi harga individual.
Bolehkah saya memasang aplikasi di database Odoo Online (SaaS) saya?
Tidak, aplikasi pihak ketiga tidak dapat dipakai di Odoo Online. Sayangnya Odoo SaaS memblokir kemungkinan itu.
Alat Anda bergantung pada aplikasi lain. Haruskah saya membelinya?
Ya, alat memerlukan semua modul yang ditandai di dependensi agar bekerja dengan benar. Harga di halaman aplikasi sudah mencakup semua dependensi yang diperlukan.
Berapa harga modul dalam dolar AS? Mengapa berubah?
Harga modul kami ditetapkan dalam euro. Toko Odoo mengonversi harga ke mata uang lain menurut kurs internalnya. Jadi harga dalam dolar AS dapat berubah saat kurs diperbarui.
Teks aplikasi dan situs dalam bahasa selain Inggris dibantu AI dan diselaraskan dengan terjemahan resmi Odoo. Jika Anda melihat kesalahan, kirim tiket kebenaran terjemahan dan kami akan memperbaikinya.
Pelaporan bug
Jika Anda menemukan bug atau perilaku tidak konsisten, jangan ragu menghubungi kami. Kami jamin perbaikan dalam 60 hari setelah pembelian dan tetap ingin meningkatkan alat setelah periode itu.
Anda tidak perlu nomor telepon atau kartu kredit untuk menghubungi kami. Cukup pendaftaran email singkat yang tidak lebih dari 30 detik.
Sertakan sebanyak mungkin detail dalam permintaan: tangkapan layar, log server Odoo, deskripsi lengkap cara mereproduksi masalah, dan sebagainya. Biasanya butuh beberapa hari kerja untuk menyiapkan rencana kerja (jika bug dikonfirmasi) atau memberi panduan apa yang harus dilakukan (jika tidak).
Permintaan fitur publik dan ide modul (pengembangan gratis)
Kami sangat termotivasi untuk meningkatkan alat kami dan berterima kasih atas masukan apa pun. Jika kebutuhan Anda bermanfaat bagi publik dan dapat diimplementasikan secara efisien, tim akan memasukkannya ke daftar tugas kami.
Daftar tugas semacam ini diproses secara berkala dan tidak dikenai biaya tambahan. Meski kami tidak dapat menjanjikan tenggat dan desain akhir, ini bisa jadi cara baik untuk mendapatkan fitur yang diinginkan tanpa investasi dan risiko.
Anda tidak perlu nomor telepon atau kartu kredit untuk menghubungi kami. Cukup pendaftaran email singkat yang tidak lebih dari 30 detik.
Alat untuk menyimpan kata sandi dengan aman di Odoo untuk penggunaan bersama. Brankas bersama
198€Alat untuk membangun basis pengetahuan yang dalam dan terstruktur untuk penggunaan internal dan eksternal. Knowledge System. KMS. Revisi seperti wiki.
398€Alat manajemen layanan berbasis waktu dari pemesanan janji hingga penjualan dan ulasan
Alat untuk menetapkan target KPI dan mengontrol pemenuhannya per periode. Dasbor KPI. Perancang dasbor. Grafik KPI
198€Alat untuk mengelola Odoo dari chat AI favorit melalui MCP. Claude. AI apa pun yang mendukung MCP.
198€Alat untuk menata lampiran Odoo secara fleksibel dalam folder dan menyinkronkan direktori dengan klien cloud: Google Drive, OneDrive/SharePoint, Nextcloud/ownCloud, Dropbox, Amazon S3, Box, dan NAS. DMS. Manajer Berkas. Sistem manajemen dokumen
Alat untuk menyinkronkan lampiran Odoo secara otomatis dengan file OneDrive secara dua arah
Alat untuk menyinkronkan lampiran Odoo secara otomatis dengan file ownCloud/Nextcloud secara dua arah
Alat untuk menyinkronkan lampiran Odoo secara otomatis dengan file DropBox secara dua arah