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.

93 lines
2.7 KiB

9 years ago
9 years ago
9 years ago
  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
  36. and fill in the `Download filename` field. This field is evaluated as jinja2
  37. template with `objects` being a list of browse records of the records to
  38. print, and `o` the first record.
  39. Known issues / Roadmap
  40. ======================
  41. * Currently, only old-style reports (ir.actions.report.xml) are supported,
  42. it should be simple to add support for qweb reports.
  43. Credits
  44. =======
  45. Contributors
  46. ------------
  47. * Holger Brunn <hbrunn@therp.nl>
  48. * Sébastien Beau <sebastien.beau@akretion.com>
  49. Icon
  50. ----
  51. Icon courtesy of http://www.picol.org/ (download_settings.svg)
  52. Maintainer
  53. ----------
  54. .. image:: http://odoo-community.org/logo.png
  55. :alt: Odoo Community Association
  56. :target: http://odoo-community.org
  57. This module is maintained by the OCA.
  58. OCA, or the Odoo Community Association, is a nonprofit organization whose
  59. mission is to support the collaborative development of Odoo features and
  60. promote its widespread use.
  61. To contribute to this module, please visit http://odoo-community.org.
  62. """,
  63. "depends": [
  64. 'web',
  65. 'email_template',
  66. ],
  67. "data": [
  68. "view/ir_actions_report_xml.xml",
  69. ],
  70. "test": [
  71. ],
  72. "auto_install": False,
  73. "installable": True,
  74. "application": False,
  75. "external_dependencies": {
  76. 'python': ['jinja2'],
  77. },
  78. }