Skip to main content
Odoo Community Association

DOCX reports

Alpha License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runboat

This module allows to provide docx files as report templates to generate docx reports.

Table of contents

Use Cases / Context

This module was developed because for some users it is easier to use the docx format for their templates.

As it uses a slightly different templating language, it is not a drop-in replacement for report_py3o.

It also does not provide any format conversions, though it should be pretty simple to write a glue module that converts the resulting docx files to formats supported by report_py3o.

Installation

To install this module, you need to:

pip install docxtpl

Configuration

To configure this module, you need to:

  1. Go to Settings / Technical / Actions / Report

  2. Create a new report with type DOCX

  3. Fill in the name of a model, ie crm.lead

  4. Upload your DOCX file in the Template field

  5. To help with crafting expressions in the template, switch to the DOCX tab, select a record and fill in some expression. When happy with the result, copy the code into your template document. Don’t forget to read the extensive documentation on the right hand side

Usage

To use this module, you need to:

  1. Print some report created according to the configuration manual

Known issues / Roadmap

  • support images and embedded objects

  • support concatenating docx files for multiple records

  • support embedding html

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Hunki Enterprises BV

Contributors

Other credits

The development of this module has been financially supported by:

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

hbrunn

This module is part of the OCA/reporting-engine project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-report-docx 16.0.1.0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-report-docx 16.0.1.0.0.4
File Interpreter ABI Platform Actions
odoo_addon_report_docx-16.0.1.0.0.4-py3-none-any.whl Python 3 none any Details for odoo_addon_report_docx-16.0.1.0.0.4-py3-none-any.whl

Release files / odoo_addon_report_docx-16.0.1.0.0.4-py3-none-any.whl

Download URL odoo_addon_report_docx-16.0.1.0.0.4-py3-none-any.whl
Size 51.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c78c3d91e0fbba68d747b566db2a679d80d1fedbf41bda90007f1a72bd590d81
BLAKE2b-256 checksum
How to use checksums
1c67e22e86ecc6a155126de206030316bd9368a00b891f4d10d2cad2562f8aa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-report-docx 16.0.1.0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page