OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.4 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :alt: License: AGPL-3
  3. Qweb XML Reports
  4. ================
  5. This module was written to extend the functionality of the reporting engine to
  6. support XML reports and allow modules to generate them by code or by QWeb
  7. templates.
  8. Installation
  9. ============
  10. To install this module, you need to:
  11. * Install lxml_ in Odoo's ``$PYTHONPATH``.
  12. * Install the repository `reporting-engine`_.
  13. Configuration
  14. =============
  15. No manual configuration is needed.
  16. Usage
  17. =====
  18. This module is technical, so its usage instructions are intended for module
  19. developers.
  20. To use this module, you need to:
  21. * Create a module.
  22. * Make it depend on this one.
  23. * Follow `instructions to create reports`_ having in mind that the
  24. ``report_type`` field in your ``ir.actions.report.xml`` record must be
  25. ``qweb-xml``.
  26. In case you want to create a `custom report`_, the instructions remain the same
  27. as for HTML reports, and the method that you must override is also called
  28. ``render_html``, even when this time you are creating a XML report.
  29. You can visit http://<server-address>/report/xml/<module.report_name>/<ids>
  30. to see your XML report online as a web page.
  31. If you are a developer and you want a sample module to know how to use this
  32. reporting engine, you can review `l10n_es_training`_.
  33. For further information, please visit:
  34. * https://www.odoo.com/forum/help-1
  35. * https://github.com/OCA/reporting-engine
  36. Known issues / Roadmap
  37. ======================
  38. None
  39. Credits
  40. =======
  41. * Icon taken from http://commons.wikimedia.org/wiki/File:Text-xml.svg.
  42. Contributors
  43. ------------
  44. * Jairo Llopis <j.llopis@grupoesoc.es>
  45. Maintainer
  46. ----------
  47. .. image:: https://odoo-community.org/logo.png
  48. :alt: Odoo Community Association
  49. :target: https://odoo-community.org
  50. This module is maintained by the OCA.
  51. OCA, or the Odoo Community Association, is a nonprofit organization whose
  52. mission is to support the collaborative development of Odoo features and
  53. promote its widespread use.
  54. To contribute to this module, please visit http://odoo-community.org.
  55. .. _reporting-engine: https://github.com/OCA/reporting-engine
  56. .. _instructions to create reports: https://www.odoo.com/documentation/8.0/reference/reports.html
  57. .. _custom report: https://www.odoo.com/documentation/8.0/reference/reports.html#custom-reports
  58. .. _l10n_es_training: https://github.com/grupoesoc/l10n-spain/tree/l10n_es_training/l10n_es_training
  59. .. _lxml: http://lxml.de/