Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 1137 |
Technical Name |
onlyoffice_odoo_documents |
License | LGPL-3 |
Website | https://www.onlyoffice.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Documents (documents)
• Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 1137 |
Technical Name |
onlyoffice_odoo_documents |
License | LGPL-3 |
Website | https://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.

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
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
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:
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
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
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.
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:
Hello,
The app does not have version history implemented yet, unfortunately.
Hello, still error
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
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.