| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 261 |
| Technical Name |
st_odt_docx_report |
| License | See License tab |
| Website | https://www.surekhatech.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 261 |
| Technical Name |
st_odt_docx_report |
| License | See License tab |
| Website | https://www.surekhatech.com |
| Versions | 18.0 19.0 |
Generate and Download Reports in Editable ODT and DOCX Formats
The Docx and ODT Report module allows users to generate Odoo reports in the editable ODT (OpenDocument Text) and DOCX (Microsoft Word) formats instead of the standard PDF. This provides the flexibility to modify or manually adjust system-generated documents (like Quotations, Invoices, or Purchase Orders) in word processors like LibreOffice or Microsoft Word.
With a simple configuration, you can choose which specific reports should be downloaded as ODT or DOCX. All other reports remain in their standard PDF format, ensuring no disruption to your existing workflow. The module automatically cleans HTML content (converting lists to plain paragraphs) and applies professional text styling and table alignments to the generated files.
Prerequisites
Before installing the module, ensure that the odfpy library is installed in your Odoo environment:
pip install odfpy
Configuration
-
Go to Settings > Technical > Reporting > Reports and select any report action.
-
Locate the "Report Format Type" field and select either ODT or DOCX to activate the editable download format for that specific report. No technical or coding knowledge is required.
Generate Editable Report
-
Once enabled, users can go to the respective record (e.g., a Sales Order or Invoice) and click the standard Print button.
-
The system will automatically intercept the request and download the report as an editable .odt or .docx file instead of a PDF.
Editable Content
-
All tables and text blocks are formatted to be easily editable, allowing you to make quick manual adjustments to your documents on the fly. The system also intelligently cleans list items for better external editor compatibility.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to modify, upgrade, publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.




Please log in to comment on this module