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.

89 lines
2.4 KiB

7 years ago
6 years ago
7 years ago
  1. .. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
  2. :target: https://www.gnu.org/licenses/agpl
  3. :alt: License: AGPL-3
  4. ===========================
  5. Excel report engine helpers
  6. ===========================
  7. This module provides a set of tools to facilitate the creation of excel reports with format xlsx.
  8. This module offers a similar functional coverage as the 8.0 version of the ``report_xls`` module.
  9. Usage
  10. =====
  11. In order to create an Excel report you can:
  12. - define a report of type 'xlsx'
  13. - pass ``{'xlsx_export': 1}`` via the context to the report create method
  14. The ``AbstractReportXlsx`` class contains a number of attributes and methods to
  15. facilitate the creation excel reports in Odoo.
  16. * Cell types
  17. string, number, boolean, datetime.
  18. * Cell formats
  19. The predefined cell formats result in a consistent
  20. look and feel of the Odoo Excel reports.
  21. * Cell formulas
  22. Cell formulas can be easily added with the help of the ``_rowcol_to_cell()`` method.
  23. * Excel templates
  24. It is possible to define Excel templates which can be adapted
  25. by 'inherited' modules.
  26. Download the ``account_move_line_report_xls`` module
  27. from http://apps.odoo.com as example.
  28. * Excel with multiple sheets
  29. Download the ``account_asset_management_xls`` module
  30. from http://apps.odoo.com as example.
  31. Installation
  32. ============
  33. There is no specific installation procedure for this module.
  34. Configuration and Usage
  35. =======================
  36. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
  37. :alt: Try me on Runbot
  38. :target: https://runbot.odoo-community.org/runbot/143/10.0
  39. Bug Tracker
  40. ===========
  41. Bugs are tracked on `GitHub Issues
  42. <https://github.com/OCA/reporting-engine/issues>`_. In case of trouble, please
  43. check there if your issue has already been reported. If you spotted it first,
  44. help us smashing it by providing a detailed and welcomed feedback.
  45. Credits
  46. =======
  47. Contributors
  48. ------------
  49. * Luc De Meyer <luc.demeyer@noviat.com>
  50. Maintainer
  51. ----------
  52. .. image:: https://odoo-community.org/logo.png
  53. :alt: Odoo Community Association
  54. :target: https://odoo-community.org
  55. This module is maintained by the OCA.
  56. OCA, or the Odoo Community Association, is a nonprofit organization whose
  57. mission is to support the collaborative development of Odoo features and
  58. promote its widespread use.
  59. To contribute to this module, please visit http://odoo-community.org.