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.

87 lines
2.7 KiB

  1. # -*- coding: utf-8 -*-
  2. ##############################################################################
  3. #
  4. # OpenERP, Open Source Management Solution
  5. # This module copyright (C) 2014 Therp BV (<http://therp.nl>).
  6. #
  7. # This program is free software: you can redistribute it and/or modify
  8. # it under the terms of the GNU Affero General Public License as
  9. # published by the Free Software Foundation, either version 3 of the
  10. # License, or (at your option) any later version.
  11. #
  12. # This program is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU Affero General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Affero General Public License
  18. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. #
  20. ##############################################################################
  21. {
  22. "name": "Custom report filenames",
  23. "summary": "Configure the filename to use when downloading a report",
  24. "version": "1.0",
  25. "author": "Therp BV,Odoo Community Association (OCA)",
  26. "license": "AGPL-3",
  27. "complexity": "normal",
  28. "category": "Reporting",
  29. "description": """
  30. Custom report filenames
  31. =======================
  32. This addon allows for custom filenames for reports.
  33. Configuration
  34. =============
  35. To configure this module, open the report whose filename you want to change and fill in the `Download filename` field. This field is evaluated as jinja2 template with `objects` being a list of browse records of the records to print, and `o` the first record.
  36. Known issues / Roadmap
  37. ======================
  38. * Currently, only old-style reports (ir.actions.report.xml) are supported, it should be simple to add support for qweb reports.
  39. Credits
  40. =======
  41. Contributors
  42. ------------
  43. * Holger Brunn <hbrunn@therp.nl>
  44. * Sébastien Beau <sebastien.beau@akretion.com>
  45. Icon
  46. ----
  47. Icon courtesy of http://www.picol.org/ (download_settings.svg)
  48. Maintainer
  49. ----------
  50. .. image:: http://odoo-community.org/logo.png
  51. :alt: Odoo Community Association
  52. :target: http://odoo-community.org
  53. This module is maintained by the OCA.
  54. 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.
  55. To contribute to this module, please visit http://odoo-community.org.
  56. """,
  57. "depends": [
  58. 'web',
  59. 'email_template',
  60. ],
  61. "data": [
  62. "view/ir_actions_report_xml.xml",
  63. ],
  64. "test": [
  65. ],
  66. "auto_install": False,
  67. "installable": True,
  68. "application": False,
  69. "external_dependencies": {
  70. 'python': ['jinja2'],
  71. },
  72. }