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.

84 lines
2.2 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. For further information, please visit:
  32. * https://www.odoo.com/forum/help-1
  33. * https://github.com/OCA/reporting-engine
  34. Known issues / Roadmap
  35. ======================
  36. None
  37. Credits
  38. =======
  39. * Icon taken from http://commons.wikimedia.org/wiki/File:Text-xml.svg.
  40. Contributors
  41. ------------
  42. * Jairo Llopis <j.llopis@grupoesoc.es>
  43. Maintainer
  44. ----------
  45. .. image:: https://odoo-community.org/logo.png
  46. :alt: Odoo Community Association
  47. :target: https://odoo-community.org
  48. This module is maintained by the OCA.
  49. OCA, or the Odoo Community Association, is a nonprofit organization whose
  50. mission is to support the collaborative development of Odoo features and
  51. promote its widespread use.
  52. To contribute to this module, please visit http://odoo-community.org.
  53. .. _reporting-engine: https://github.com/OCA/reporting-engine
  54. .. _instructions to create reports: https://www.odoo.com/documentation/8.0/reference/reports.html
  55. .. _custom report: https://www.odoo.com/documentation/8.0/reference/reports.html#custom-reports
  56. .. _lxml: http://lxml.de/