DropBox Odoo Integration v.14
The tool to automatically synchronize Odoo attachments with DropBox files in both ways
This is the tool to integrate DropBox features into your Odoo business work flow. The app automatically stores Odoo attachments in DropBox, and it provides an instant access to them via web links. In such a way users work with files comfortably in the cloud storage, while the results are fully available in Odoo.
- the technical core which provides basic mechanics of auto synchronization. This is a required module for integration.
価格は
398€
358€.
- the connector itself which introduces links between Odoo and DropBox.
価格は
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 .
価格は
44€
39€.
Automatic regular sync
Synchronization between Odoo and DropBox is based on scheduled jobs. No manual interaction is required
Bilateral DropBox sync
Odoo sends attachments to DropBox and retrieves files from there. Binary content is kept in clouds, while Odoo provides direct access to synced items
Any Odoo document types for sync
Decide which Odoo document types should be synced. Customers, opportunities, sale or purchase orders, tasks or issues, employees or users, etc. Custom models are also supported
Instant access for DropBox
The tool redefines Odoo attachments boxes to make work comfortable: download files locally without login, open files and folders in DropBox, use standard Odoo previewers
Compatible with Odoo Enterprise documents
Reflect Odoo Enterprise Documents' structure and items in DropBox. All features (including sharing, downloading, and signing) would anyway work
All DropBox tariffs
Synchronization works for any DropBox tariff, including Personal DropBox (Basic, Plus, Family) and business DropBox (Professional, Standard, Advanced)
DropBox sync history
Sync activities might be logged. Control over files and folders creations, moves, name changes and removals. Just turn on the option 'Log sync activities', and you would be able to observe the history through the button 'Sync logs'
Default folders
The tool let generate default directories' structure for this document type during the very first sync of a related object. For example, for all employees you may have pre-defined folders 'Scans', 'Scans/Official', 'Photos', etc.
Sync any documents you like
Configuring models to sync
-
To sync a specific document type, you should add it as a model to sync. Any Odoo model might be chosen
-
The app let split models into a few folders based on selected filters. Use any document storable field to distinguish a directory. Have a separate folder for individuals and companies, for European and American opportunities, for quotations and confirmed orders, for each project, etc.
-
Limit also documents by relative periods through using date fields of linked documents. For example, leads registered in the last 3 months or invoices updated the last week
-
Define name expressions to specify titles of documents' DropBox folders. For instance, to include project name to a task directory
-
Prepare hierarchy of default folders to be created when a document directory is synced to DropBox for the first time
Typical use cases
-
Projects: have an own DropBox folder for each customer project
-
Customers: add all partner files in a single directory available both from Odoo and from DropBox. 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 DropBox alternatively
-
Opportunities: carefully store all specifications, requirements, any files which would let you make a good offer
-
Orders: keep all printings and contracts in DropBox with instant availability from Odoo
-
Picking operations: save warehouse docs to DropBox.
How synchronization works
Direct Sync
-
Direct synchronization is based on the scheduled job 'Synchronize attachments with cloud'
-
Direct sync make 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
-
Direct sync checks whether attachments are added or deleted for synced documents. If so, they would be created or removed in DropBox
-
Direct sync checks whether a new document type (e.g. sale orders) is added / renamed / replaced in the to-sync-models configurations. If so, this should be reflected in DropBox
-
Direct sync checks whether a new document (e.g. quotation SO-001) related to a synced document type is generated / updated / unlinked. If so, the connector would make the same changes in DropBox
-
The final goal of direct DropBox integration is to have the structure 'Odoo / Document Types / Documents / Files. For example, 'Odoo / Quotations / SO019 / commercial offer.pdf'
Backward Sync
-
Backward synchronization is based on the scheduled job 'Synchronize attachments from cloud'
-
Backward sync checks whether any items are added to a DropBox document folder. If so, the app would create URL attachments for that items in a linked Odoo object
-
Backward sync checks whether any items are deleted / moved in a cloud document folder. If so, a linked Odoo attachment would be also unlinked or moved
-
Backward sync checks whether any item is renamed in DropBox. If so, a chained Odoo attachment should be also renamed
-
In DropBox 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
DropBox URLs
-
DropBox has a specific way to generate links for existing files and folders. In particular, there are no concepts of internal or private URLs. Instead, each DropBox item might get so-called shared URLs. Such shared links are either public or team-only. Moreover, the latter feature is available only for DropBox business account
-
This tool relies upon share links' mechanics. It means, that each attachment link is either public (all personal DropBox accounts) or team-only (all business DropBox accounts)
-
Sometimes it is considered to be not fully safe. Although website URLs will be hardly known by external users, there is a slight chance that they become available as a result of some user actions. Besides, sharing links generation is not super fast and might make a sync process slower. That is why the feature to switch off sharing urls is introduced
-
If checked, all DropBox urls in Odoo will be of type https://www.dropbox.com/home/Odoo/[PATH]. Such links will not work in quite a many cases. Thus, if you need to open DropBox files / folders from Odoo, be careful with the setting 'No links to DropBox from Odoo'
Misc notes
-
The connector works on a queue (first in - first out) principle: it tries to firstly reflect the oldest changes
-
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 and content should be managed in DropBox: each backward sync would recover DropBox names, Odoo is here less important
-
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.
Odoo Enterprise Documents
-
The special add-on 'Cloud Sync for Enterprise documents' is introduced to synchronize DropBox with the Odoo app 'Documents' (the latter is distributed under the Odoo Enterprise license)
-
Based on that add-on the Odoo documents' hierarchy would be reflected within the folder 'Odoo / Odoo Docs'
-
Each Odoo folder would have a linked DropBox 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 URL attachments within a paired documents directory
-
Standard DropBox sync and integration with Enterprise Documents are done within the same jobs. Avoid the scenarios when a single file is synced as a simple Odoo attachment and as an Odoo document simultaneously
-
Odoo spread sheet files are not synced by the connector: so, they are still manageable in Odoo
-
Please do not name synced models as 'Odoo Docs'. This is the reserved name for Odoo Enterprise Documents.
設定とインストールのヒント: DropBox Odoo Integration Odoo v.14
Python dependency
The tool depends on external libraries 'dropbox'. Install this library for your Odoo server through the command:
pip3 install dropboxConfiguration and log in
- Follow the url https://www.dropbox.com/developers/apps/create
- Choose an API as 'Scoped access'
- Choose the type of access as 'Full Dropbox'
- Select any suitable name for the app and push the button 'Create app'
- Add the redirect URI as [YOURODOOSITENAME]/dropbox_token (e.g. https://faotools.com/dropbox_token). A valid SSL certificate (https) is required
- Grant permissions to the app: 'Account Info (Read)', 'Files and folders Metadata (Write)', 'Files Content (Write)', 'Collaboration (Write)'. For team DropBox assign also 'Team Data Members', 'Members (Read)'. Make sure no other permissions are assigned.
- Submit App
- Go to Odoo general settings - DropBox
- Copy App Key, App secret, and redirect URI to the Odoo configuration page
-
For team DropBoxes only
- Check the box 'DropBox Team'
- Set an email of DropBox user. Inside this user folder all Odoo related items would be created and only after that they are shared to all other users. Under this user all files and folders are created, changed, moved, and deleted
- Choose a suitable name for the root Odoo folder, e.g. 'Odoo' or 'ERP'
- Press Save
- Press 'Login and Confirm'
Create a DropBox app
Set up DropBox App: redirection URL
DropBox permissions for personal accounts
DropBox permissions for business accounts
Set up Odoo for DropBox integration
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.
Reconnection
Reconnection might be required for the case a refresh token is expired and when you migrate the app from previous versions. In such a case:
- Press the button 'Reconnect'
- Press the button 'Login and confirm'
に関するよくある質問 DropBox Odoo Integration Odoo v.14
同期ジョブの頻度を変更できますか?
はい、できます。その手順は次のとおりです:
デバッグモードをオンにする
技術設定 > 自動化 > スケジュール済みジョブ に移動します
ジョブ 'Synchronize attachments with cloud' と 'Update attachments from cloud' を探します。
実行頻度を高くしすぎないでください。次のジョブが始まる前に、現在のジョブが終わるのが望ましいです。設定は同期する項目数に応じて変えます。通常、頻度は15分から4時間です。
Odoo 設定ファイルでも十分な時間制限を設定してください。LIMIT_TIME_CPU と LIMIT_TIME_REAL は、予定した cron ジョブ時間以上である必要があります。バージョン 13 以降はパラメータ LIMIT_TIME_REAL_CRON も考慮してください。
Odoo.sh のお客様への重要な注意: cron ジョブの最大時間が 15 分のみに設定されている場合があります。
同期が想定するのではなく、同期ディレクトリの別構造を設定できますか?
いいえ。この機能はバージョン15以降でのみ利用できます。それ以前のバージョンでは、モジュールは事前定義されたフォルダ構造で動作します:
Odoo - 同期の中核フォルダ
Models - 各 Odoo ドキュメントタイプ用のフォルダ。例: 'Projects'、'Partners'。domain で区別すると、より具体的なフォルダがある場合があります。例: 'Customer 1 Projects'、'Projects of the Customer 2'、'Internal Projects' など。
Objects - 各ドキュメント用フォルダ。例: 'Project 1' または 'Customer 1'
この Odoo ドキュメントに関連し、同期されるファイルとフォルダ。
その結果、例えば次のようになります:
Odoo / Projects / Project 1 / project 1 に関連するファイルとフォルダ
Odoo / Customer 1 Projects / Project 1; Odoo / Customer 2 Projects / Project 3, ...
Odoo / Customers / Customer 1 / customer 1 に関連するファイルとフォルダ
この構造は常にフラットです。つまり階層はそのレベルだけです。そのため、異なるドキュメントタイプを同じ構造内に置けないのは正しいです。フォルダ 'Customer 1' 内に、販売オーダ、請求書、プロジェクトのすべてに関連するファイルを置くことはできません。各ドキュメントタイプには独自のフォルダ(または複数)があります。そうでなければ、依拠する基準がなく、逆方向の同期ができません。
Odoo で特定ユーザーのアクセスを設定すべきですか?
いいえ。本ツールは単一ユーザーのエンドポイントに依存します。同期はすべて 1 人のクラウド管理者(アプリ)で行われます。作成したフォルダ / ファイルのアクセス権は自動化されません。クラウドストレージ側で管理してください。
同期フィールドはどこに保存されますか?Odooとクラウドに重複しますか?
本アプリは、添付のバイナリ内容が Odoo サーバーではなく Cloud Client に保管されることを前提とします。そのため、Odoo 上の該当添付は URL タイプになり、添付ボックスまたは Cloud Client からいつでもアクセスできます。
セットアップ後は同期が完全に自動のため、手動操作は不要です。同期する Odoo のドキュメントタイプを決め、それぞれに関連モデルを設定してください(顧客、販売オーダまたは購買オーダ、タスク、プロジェクトなど)。
同じ文書タイプに複数のフォルダを持てますか?例えば社内プロジェクトと顧客プロジェクトです。
はい。それぞれにルールを用意し、その後フィルタを適用します。例: プロジェクトの種類。
文書を確実に割り当てられるよう、フィルタは互いに排他的にしてください。例: 「顧客だが仕入先ではない」「仕入先だが顧客ではない」。そうしないと、特定文書のフォルダがモデル間を行き来します。
Cloud Storage Solutionアプリだけが必要ですか?
いいえ。本ツールは技術コアのみです。ご利用の cloud client 用コネクタも必要です。
同期するオブジェクトが例えば10000件と多くても問題ありませんか?
はい。ただし同期するフォルダ/添付が多いと遅くなることがあります。一方、>10k の取引先と約 5k のプロダクトバリアントを同期した環境でも処理は許容範囲だったとお客様から報告があります。
強調すべき点:
- 同期は、どの項目も失われず同期されるように作られています。速くない場合もあります。FIFO キューと各ジョブのコミットがそれを保証します。
- 対象数は論理的に制限できます。モデル設定で古い項目の同期を制限できます(例: アーカイブ済み取引先や 2 年前のオーダを同期する意味はありません)。
同期をリアルタイムにできますか?
いいえ。リアルタイム同期を避ける確かな理由があります:
パフォーマンスの問題。同期がリアルタイムだと、ファイルアップロードのたびに読み込み画面が出ます。
競合の問題。2 人のユーザーが同時に項目を変更すると、解決できない状況になり得ます。定期ジョブなら後から直せますが、リアルタイムではキューとして保存する必要があり、ユーザーにとってさらに分かりにくくなります。
機能上の問題。特に項目の名前変更と再構成です。逆方向同期ではディレクトリ論理に厳密に依存し、毎回 100% の項目を確認します。更新のたびに行うと毎秒数千リクエストになります。行わなければ変更は失われます。
クラウドの既定フォルダ名を変更できますか?
任意のドキュメントタイプについて、モデルのディレクトリ(販売オーダ、案件、仕入先など)に独自の名前を付けられます。
オブジェクトのフォルダ(SO-001、John Smith など)では、このドキュメントタイプの表示名を組み立てる Odoo のメソッドに依存します。ただし名前式を定義すれば変更できます。Odoo メールテンプレートと全く同じ構文を使います。
添付をいくつかのクラウドクライアントと同期できますか
いいえ、この機能はバージョン 15 以降でのみ利用できます。
クラウドでは専用エディタ(OnlyOffice、Office 365 など)を使っています。ファイルはそのエディタで開きますか?
はい、cloud client の設定によります。
ツールの更新ポリシーは何ですか?
現行の Odoo Apps Store ポリシーによると:
- バージョン 12.0 以前向けに購入したモジュールは、12.0 までの全バージョンにアクセスできます。
- バージョン 13.0 以降、各モジュールバージョンは個別に購入します。
- バージョンに関係なく、購入するとメジャーバージョン内の すべての更新と不具合修正の権利が得られます。
faOtools チームはこれらのポリシーを管理していません。ご質問は Odoo Apps Store の担当者へ直接お問い合わせください。
アプリを Odoo.sh にインストールする方法は?
最も単純な方法は、Odooストア組み込みのワークフローを使うことです:
1. モジュールのページを開き、Deploy on odoo.sh ボタンをクリックします。
2. その後 GitHub ページにリダイレクトされます。アカウントにログインし、'Create a new repo' をクリックするか既存のものを使います。リポジトリはプライベートにしてください。OPL-1 ライセンスのアプリを公開することは許可されていません。必要なら Odoo.sh プロジェクト用に新しい repo を作成します。
3. 次に odoo.sh に行き、Deploy ボタンをクリックします。ポップアップで決定を送信し、'Continue.' をクリックします。これでインストールが始まります。
これらの手順でプロジェクトの本番ブランチにアプリがインストールされます。他のブランチにデプロイする、またはモジュールを更新する場合は、次の操作を行います:
1. Odooストアからアプリのソースコードをアップロードします。
2. モジュールを必要な GitHub リポジトリにコミットします。アプリのフォルダ/ファイルが無視されていないこと(repo の .gitignore に含まれていないこと)を確認してください。リポジトリは odoo.sh が自動作成し、既定で重要な項目(例: /lib)が含まれることがあります。モジュールのディレクトリ、サブディレクトリ、ファイルを例外なくすべてアップロードしてください。
3. odoo.sh プロジェクトの対象ブランチを Deploy するか、 設定がそうなっている場合は自動ビルドされるまで待ちます。
自分のサーバーにアプリをインストールするには?
2. Odoo サーバーを再起動します;
3. 開発者モードをオンにします(技術設定);
4. アプリ一覧を更新します(アプリメニュー);
5. アプリを見つけて「Activate」/「Install」を押します;
6. アプリページにガイドラインがあれば従ってください。
アプリに追加アドオンがあるのに気づきました。後から購入できますか?
はい、もちろんです。同時に Odoo は依存関係をすべてカートに自動追加するので、二重払いを避けるには既に購入したツールを除外してください。
アプリを Odoo.sh にデプロイしたらテストで警告/エラーが出ます
赤/オレンジの警告はアプリの機能に影響しません。残念ながら、標準の自動テストがアプリの目的と衝突する動作を想定するため、モジュールが通らないことがあります。たとえば価格計算を変える一方、標準 Odoo モジュールのテストは最終価格を標準アルゴリズムと比較します。
まず、デプロイ済みデータベースの機能を確認してください。すべて正しく動いていますか?
それでも警告が実機能に影響すると考える場合はご連絡のうえ、インストールログ一式とデプロイ済みモジュールの全一覧(コアおよびサードパーティ含む)を送ってください。
アプリを御社から直接購入できますか?
いいえ、ツールは 公式の Odoo アプリストア.
割引をいただきたいです
残念ながら、個別価格を提示する技術的手段が ありません。
Odoo Online (SaaS)データベースにアプリをインストールできますか?
いいえ、サードパーティアプリは Odoo Online では使えません。残念ながら Odoo SaaS がその可能性をブロックします。
ツールは他のアプリに依存しています。それらも購入すべきですか?
はい、ツールが正しく動くには依存関係に記されたすべてのモジュールが必要です。アプリページの価格には必要な依存関係がすでに含まれています。
モジュールの米ドル価格はいくらですか?なぜ変わりましたか?
モジュールの価格はユーロ建てです。Odoo ストアは内部為替レートで他通貨に換算します。そのため為替が更新されると米ドル価格が変わることがあります。
英語以外のアプリ・サイト文言は AI 支援で作成され、 公式の Odoo 翻訳に揃えています。誤りを見つけたら、 翻訳の正確さについてチケットを送る 修正します。
不具合報告
不具合や一貫しない動作があれば、遠慮なくご連絡ください。購入から60日以内の修正を保証し、その後もツール改善に力を入れています。
ご連絡に電話番号やクレジットカードは不要です。30 秒以内の短いメール登録だけです。
リクエストにはできるだけ多くの詳細を含めてください:スクリーンショット、Odoo サーバーログ、問題の再現手順の完全な説明など。通常、問題の作業計画の作成(不具合が確認された場合)または実施すべき内容の案内(それ以外)には数営業日かかります。
公開の機能リクエストとモジュールのアイデア(無償開発)
ツール改善への意欲は強く、フィードバックには感謝します。要件が広く役立ち、効率よく実装できる場合、チームは To-do リストに加えます。
このような To-do リストは定期的に処理され、追加料金は発生しません。期限や最終デザインは約束できませんが、投資とリスクなしで望む機能を得る良い方法になることがあります。
ご連絡に電話番号やクレジットカードは不要です。30 秒以内の短いメール登録だけです。
社内・社外向けに深く構造化されたナレッジベースを構築するツール。Knowledge System。KMS。Wiki のような改訂。
398€お気に入りの AI チャットから MCP 経由で Odoo を管理するツール。Claude。MCP 対応の任意の AI。
198€Odoo の添付ファイルをフォルダに柔軟に整理し、Google Drive、OneDrive/SharePoint、Nextcloud/ownCloud、Dropbox、Amazon S3、Box、NAS とディレクトリを同期するツール。DMS。ファイルマネージャー。文書管理システム
Odoo の添付ファイルを ownCloud/Nextcloud のファイルと自動で双方向同期するツール