Se rendre au contenu
Icône de XML Reports

XML Reports

par OCA · report_xml

Allow to generate XML reports

19.0 — à porter Module Contrôle qualité : Vérifiée AGPL-3

XML Reports

This module was written to extend the functionality of the reporting engine to support XML reports and allow modules to generate them by code or by QWeb templates.

Table of contents

Use Cases / Context

We create this module to allow the system to generate and download XMLs as reports.

Otherwise, the system can generate XMLs, but will be downloaded as HTML or PDF.

Installation

To install this module, you need to:

But this module does nothing for the end user by itself, so if you have it installed it’s probably because there is another module that depends on it.

Usage

This module is intended as a base engine for other modules to use it, so no direct result if you are a user.

If you are a developer

To learn from an example, just check the demo report on GitHub for the model res.company or check it in interface from companies views.

To develop with this module, you need to:

  • Create a module.
  • Make it depend on this one.
  • Follow instructions to create reports having in mind that the report_type field in your ir.actions.report record must be qweb-xml.

In case you want to create a custom report, the instructions remain the same as for HTML reports, and the method that you must override is also called _get_report_values, even when this time you are creating a XML report.

You can make your custom report inherit report.report_xml.abstract, name it in such way report.<module.report_name>. Also you can add a XSD file for report validation into xsd_schema field of your report (check report definition) and have XSD automatic checking for free.

You can customize rendering process and validation way via changing logic of generate_report and validate_report methods in your report class.

You can visit http://<server-address>/report/xml/<module.report_name>/<ids> to see your XML report online as a web page.

For further information, please visit:

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

  • Tecnativa
  • Avoin.Systems

Contributors

Maintainers

This module is maintained by the OCA.

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.

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.

Ce que l'application ne fait pas

L'éditeur n'a pas encore publié la liste de ce que l'application ne fait pas. C'est une règle du magasin : demandez-la au support avant de vous engager.

Applications du magasin nécessaires

Aucune.

Modules Odoo Community utilisés

web

Applications qui la complètent

SérieVersionÉtatPubliée le
19.019.0.1.0.1 En développement 23/09/2026

Fiche générée depuis julien2364/omnifloo-oca-reporting-engine (branche 19.0, commit b9e8c6cdd2d1).

Contrôle automatique du magasin (distinct de l'éditeur), appliqué à toutes les applications. Conforme.

ContrôleRésultatEffet si absent
Manifeste lisible sans exécution conforme bloquant
Licence reconnue (AGPL-3) conforme bloquant
Aucune dépendance vers Odoo Enterprise conforme bloquant
Aucun import de code Enterprise conforme bloquant
Aucun en-tête de licence Enterprise conforme bloquant
Icône static/description/icon.png conforme déclasse
Description (static/description/index.html ou README) conforme déclasse
Tests automatisés (tests/test_*.py) conforme déclasse
Traduction française (i18n/fr.po) conforme info
Section « Ce que le module ne fait pas » absent info

Avis des clients connectés. Un avis noté par client ; l'éditeur peut y répondre. Connectez-vous pour laisser un avis.

Éditeur
Odoo Community Association (OCA)
Signaler un problème
https://github.com/OCA/reporting-engine
Clients Omnifloo
Support inclus selon votre formule : centre d'aide.