Odoo OwnCloud Integration

Product not available

Search for our apps in the Odoo Store

The tool to manage Odoo documents in OwnCloud/NextCloud through automatic bilateral synchronization

  • At the moment we accept only PayPal payments from individuals
  • The price includes all required Odoo dependencies to start
  • You receive source code as a link to download zip archives

OwnCloud Odoo Integration

Manage Odoo documents as OwnCloud/NextCloud files

This is the tool to automatically store Odoo documents in your OwnCloud file system. Odoo is a great business platform, but its standard attachments are not so comfortable in use. OwnCloud is especially designed and optimized to manage files. The integration between the solutions let you benefit from both.

Buy in the Odoo Store

Key features

Odoo documents are integrated in OwnCloud regularly (by default once an hour). Till a synchronization is completed, attachments are anyway available in Odoo as standard binary files. 

The tool generates OwnCloud directories, which structure repeats Odoo database logic: 'Odoo/ Model / Object / Attachment'. For example, 'Odoo / Sale Order / SO-001 / quotation.pdf'. OwnCloud users might easily find, access and edit Odoo files.

In case documents are added to or removed from OwnCloud, the same attachments appear in Odoo. Such a synchronization is possible due to the predefined folders' structure. Simultaneously a binary file is stored only in OwnCloud, while Odoo is not overfilled.

Each synced attachment in Odoo represents an url, which leads to an OwnCloud page. In such a way preview managers are applied depending on your OwnCloud configurations and documents' extensions. For instance, you might configure OwnCloud to open Odoo documents in the OnlyOffice editor.

It is possible to rename folders and files in OwnCloud without risks of their damage in Odoo.

Store Odoo attachments in OwnCloud

In order to save an Odoo document in OwnCloud, you do not have to do anything. If authentication parameters are set up and confirmed, Odoo files are integrated automatically.
Not to overload Odoo with excess checks, synchronizations are proceeded by regular cron jobs. By default the frequency is once an hour, but you might change it. Besides, it is possible to manually force sync through the OwnCloud integration settings.
Before an attachment is stored in OwnCloud file system, it looks like any other Odoo binary attachments: a click on it forces download. Afterwards, a document becomes an url-attachment: click on such Odoo file leads to an OwnCloud page. Depending on the OwnCloud settings, it either opens a definite preview or let you save a file.

Get OwnCloud files updates to Odoo

The tool provides bilateral integration, what means changes in OwnCloud stipulate modifications in Odoo:
  1. When a new document is added to OwnCloud, it will appear in a related Odoo document (based on directories' structure)
  2. If OwnCloud users edited a document and saved changes, a related Odoo attachment would forward to the already updated version
  3. As soon as a file is removed from OwnCloud, a linked Odoo attachment is also deleted.
Backward integration relies upon folders' structure. Thus, if you uploaded a file to 'Odoo / Project Task / Prepare a Design 1', a new file would be added to the task 'Prepare a Design' attachments. Feel free to rename folders and files in OwnCloud. It doesn't jeopardize the sync process, but it might be good for usability.
On the OwnCloud side, do not forget to configure a few addons to preview files. For example, with help of the OpenOffice addon you might observe and edit .doc files. Look at OwnCloud market place for further experiments.
Be cautious: do not forget to provide your users with access right to required OwnCloud folders. Otherwise, they will not be able to open files! 

Installation and configuration

The tool is ready to be installed in any Community or Enterprise Odoo database.

The app works equally for OwnCloud & NextCloud.

To start using the app, you need to configure authentication parameters under the menu Technical Settings > OwnCloud. Activated developer mode (technical features rights) are required for that.

  • As 'url' use your OwnCloud system reference (e.g. files.yourcompany.com)
  • As 'login' and 'password' apply credentials of a user with rights to create libraries in OwnCloud
  • As 'root directory' use any title. It is used for for a folder to keep all your Odoo synced files. 
As soon as the data is entered, press the button 'Test and Confirm'. If everything is Okay, the integration is working. 
Now grant access for required folders in OwnCloud. The simplest way is to create a new group 'Odoo' and gives the directory rights for the whole group. Otherwise, manage each implied folder separately. Be cautious: Odoo doesn't manage access right to OwnCloud folders.
Then, either wait for a regular job, or push the sync buttons in the header. Be cautious: it is better to avoid simultaneous work of two sync processes.
To change frequency of documents updates, go to the menu Technical > Automation > Scheduled Actions and find the jobs 'Synchronize attachments with Owncloud' and 'Synchronize attachments from Owncloud'. You might change both an interval number and an interval unit.