ONLYOFFICE Integration with Odoo

TEAM-BASSAM
July 23, 2024
odoo- onlyoffice-integration

In this blog, you will find out how to install and configure Onlyoffice with OdoO and the Complete guide on the onlyoffice integration with Odoo, an open-source office suite for document collaboration, on Ubuntu.

Install ONLYOFFICE Docs in Ubuntu

ONLYOFFICE Docs is an open-source office package that includes web editors and viewers for text documents, spreadsheets, presentations, digital forms, eBooks, and PDF/DJVu files.

This suite allows you to work collaboratively on documents in real time with other users and even comes with the ChatGPT plugin to make text creation and analysis better.

ONLYOFFICE Docs provides integration options for many third-party platforms, including Odoo. Other examples are Nextcloud, WordPress, Alfresco, Seafile, Moodle etc.

For ONLYOFFICE Docs there are many installation options. One of the simplest one is to run it as a Docker image. However, if you don’t want to use Docker, follow the ONLYOFFICE Docs installation instructions. and you can easily install the latest version of the ONLYOFFICE Docs (ONLYOFFICE Document Server) on Ubuntu by

Install ONLYOFFICE Integration Connector

Onlyoffice Integration App

Get the official onlyoffice integration app Once your ONLYOFFICE Docs and Odoo instances are ready for the Onlyoffice – Odoo integration, To do this, you can visit the official Odoo marketplace, search for ONLYOFFICE and download the app for your platform version.

On the Odoo App Store, there are two versions of the ONLYOFFICE connector we must care about it. and One of them is for Odoo Community and the other is for Odoo Enterprise. If you’re using the free community version of the platform, choose the app called ONLYOFFICE.

onlyoffice integration

Alternatively, the latest version of the connector can be downloaded from the GitHub page.

Copy or move the ONLYOFFICE connector folder named onlyoffice_odoo into the /…/odoo/addons folder. Additionaly, this can also be done by adding these lines to the /…/odoo/config/odoo.conf file

[options]
addons_path = /mnt/extra-addons

Don’t forget to specify where your apps/addons are stored.

Once ready, it’s time to install the PyJWT library using the following pip command.
$ pip install pyjwt

Restart your Odoo instance after that. Log in to the platform, find the Apps menu and click Update Apps List.

Configure ONLYOFFICE for Odoo

You need to adjust some settings of the ONLYOFFICE connector Before using ONLYOFFICE Docs in Odoo. , Go to Settings and find ONLYOFFICE configuration page

You will see the following fields

  1. Document Server Url – type the URL of your ONLYOFFICE Docs instance.
  2. Document Server JWT Secret – the JWT secret key is automatically generated so you do not need to change anything here. However, specify the same secret key in the ONLYOFFICE Docs config file if you want to use your secret key to prevent unauthorized access to your documents, you must
  3. Document Server JWT Header – The standard ONLYOFFICE standard header is Authorization. However, you can always use your own header if the standard one conflicts with your current server configuration
only-office-general settings

The configured connector will gets you to access your installed ONLYOFFICE Docs instance (ONLYOFFICE Document Server) and use its features when working on the Odoo platform.

Like, you do the following things

1 Open and modify office documents in any part of Odoo where files can be uploaded or attached.

2 The Co-edit documents, presentations & spreadsheets, and fillable forms with other Odoo users in real-time using select collaboration features, such as Fast and rigorous co-editing modes, track Changes, comments, and communication via the built-in text chat.

3 Open PDF file to view

The integrated solution fully supports OOXML formats (DOCX, XLSX, and PPTX) and is Works with other popular formats you can watch., DJVU, DOC, DOT, ODT, OTT, RTF, TXT, DOTX, EPUB, FB2, HTML, XPS, XML, CSV, etc. ONLYOFFICE suite uses this format to make interactive forms.

"Unlock the Full Potential of Your Business with Odoo ERP!"

"Get a Cost Estimate for Your ERP Project, Absolutely FREE!"

Get a Free Quote

Leave a Reply

Your email address will not be published. Required fields are marked *