Skip to Content
Menu

ONLYOFFICE Documents

by
Odoo
v 17.0 Third Party 824
Download for v 17.0 Deploy on Odoo.sh
This module requires Odoo Enterprise Edition.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Documents (documents)
Discuss (mail)
Community Apps Dependencies
Lines of code 1137
Technical Name onlyoffice_odoo_documents
LicenseLGPL-3
Websitehttps://www.onlyoffice.com
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Documents (documents)
Discuss (mail)
Community Apps Dependencies
Lines of code 1137
Technical Name onlyoffice_odoo_documents
LicenseLGPL-3
Websitehttps://www.onlyoffice.com
Versions 16.0 17.0 18.0

Edit and collaborate on office files within Odoo Documents

Work with office documents uploaded in Odoo using ONLYOFFICE Docs (in any Odoo section where you can upload/attach files). For example, you can edit attached deal notes in the Sales section, open chat attachments in the Discuss section, etc.

Edit files in the Documents module

ONLYOFFICE app for Odoo Enterprise allows opening the created files for editing. Just select the needed document in the file list and click the ONLYOFFICE icon on the right-side panel. The corresponding ONLYOFFICE editor opens in a new tab in the full screen mode.

Create new files in the Documents module

To create new office files (docs, sheets, slides), click Create with ONLYOFFICE on the top panel within the Documents module. Select the file type and specify its name in the pop-up window.

Click the Create button — the file opens in a new tab. The created document will be displayed in the file list.

App features and file formats
  • Edit text documents, spreadsheets, and presentations (DOCX, XLSX, PPTX)
  • Collaborate on documents with your colleagues in real time
  • Edit form templates in PDF
  • Read PDF files
  • Open other office file formats for viewing, including RTF, TXT, CSV, etc.

Prerequisites

To be able to work with office files within Odoo Enterprise, you will need an instance of ONLYOFFICE Docs. You can install the self-hosted version of the editors or opt for ONLYOFFICE Docs which doesn't require downloading and installation.

ONLYOFFICE app configuration

Please note: All the settings are configured from the main ONLYOFFICE app for Odoo which is installed automatically when you install ONLYOFFICE app for Odoo Enterprise. To adjust the main app settings within your Odoo, go to Home menu -> Settings -> ONLYOFFICE.

In the Document Server Url, specify the URL of the installed ONLYOFFICE Docs or the address of ONLYOFFICE Docs Cloud.

Document Server JWT Secret: JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs config file to enable the validation.

Document Server JWT Header: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one.

settings.png

Contact us

If you have any questions or suggestions regarding the ONLYOFFICE app for Odoo, please let us know at https://forum.onlyoffice.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
by
Ahmad Zainul Abidin
on 7/31/24, 1:01 PM

Thank you for your fast response to the previous questions. I successfully configured the setting abd JWT Secret.

Next Question:
When I opened a document (docx or xlsx) from odoo document, the onlyoffice screen pops-up a warning notification stating that "The document could not be saved. Please check connection settings or contact your administrator". When you clicked the OK button, you will be prompted to download the document"

What should I do to enable saving of document? BTW, Odoo V17 Enterprise

Thanks

 

Re:
by
ONLYOFFICE
on 8/2/24, 10:21 AM Author

This could be caused by connectivity issues between the two servers, among other factors. Please create a ticket in our support system using the link in our previous reply so we could investigate further.


How to Configure OnlyOffice in Odoo V17 Enterprise
by
Ahmad Zainul Abidin
on 7/30/24, 2:38 PM

1. OnlyOffice already installed eg. at office.abc.com

2. What shall we enter in Document Server URL, Document Editing Service address for internal requests from the server and Server Address for internal requests from the document editing service.

3. Shall we leave as it is for the security part; Document Server JWT Secret and Document Server JWT Header?

4. Shall we UNTICK connect to OnlyOffice Docs Server?


Re: How to Configure OnlyOffice in Odoo V17 Enterprise
by
ONLYOFFICE
on 7/31/24, 3:19 AM Author

Hello,

You can just put the "office.abc.com" address in the "Document Server URL" field and leave the internal address fields empty, unless you specifically need to connect the two servers via their local addresses.

The security settings need to match the ones in the Docs config: https://helpcenter.onlyoffice.com/installation/docs-configure-jwt.aspx.

Since you already have Docs installed, there is no need to connect you Odoo instance to our demo cloud server, so you can just untick the option.

In case you have any further questions, please contact our support team at https://www.onlyoffice.com/support-contact-form.aspx.


by
Mary Max
on 5/8/24, 6:26 AM

Hi there.


Can I use version history feature of ONLYOFFICE inside Odoo? I know changes are store under separate files inside filestore, but there's no diff

Re:
by
ONLYOFFICE
on 5/14/24, 3:59 AM Author

Hello,

The app does not have version history implemented yet, unfortunately.


by
Mary Max
on 5/8/24, 1:41 AM



Hello, still error
by
Rizal Putra
on 3/8/24, 9:37 AM

odoo.tools.convert.ParseError: while parsing /data/xo/custom/addons/XO_2.0/development/reporting/onlyoffice_odoo/views/res_config_settings_views.xml:8

Error while parsing or validating view:


Element '' cannot be located in parent view


View error context:

{'file': '/data/xo/custom/addons/XO_2.0/development/reporting/onlyoffice_odoo/views/res_config_settings_views.xml',

'line': 2,

'name': 'res.config.settings.view.form.inherit.onlyoffice_odoo',

'view': ir.ui.view(5332,),

'view.model': 'res.config.settings',

'view.parent': ir.ui.view(176,),

'xmlid': 'res_config_settings_view_form'}


2024-03-08 15:35:16,596 6549 INFO devxo werkzeug: 10.32.174.146 - - [08/Mar/2024 15:35:16] "POST /web/dataset/call_button HTTP/1.1" 200 - 2221 3.148 4.973

2024-03-08 15:35:20,509 6567 INFO devxo odoo.addons.base.models.ir_cron: Starting job `Mail: Fetchmail Service`. 

2024-03-08 15:35:20,527 6567 INFO devxo odoo.addons.mail.models.fetchmail: start checking for new emails on pop server halo@lokatara.com 

2024-03-08 15:35:20,764 6567 INFO devxo odoo.addons.mail.models.fetchmail: Failed to process mail from pop server halo@lokatara.com

Traceback (most recent call last):

  File "/data/xo/xo-enterprise/mail/models/fetchmail.py", line 241, in fetch_mail

    res_id = MailThread.with_context(**additionnal_context).message_process(server.object_id.model, message, save_original=server.original, strip_attachments=(not server.attach))

  File "/data/xo/xo-enterprise/mail/models/mail_thread.py", line 1353, in message_process

Re: Hello, still error
by
ONLYOFFICE
on 3/11/24, 8:59 AM Author

Hello, we couldn't reproduce the above mentioned behavior. 

Please provide the scenario with your issue to our support team at https://www.onlyoffice.com/support-contact-form.aspx so that we could help you to resolve it.