Browse Source

[FIX] fix description and icon backport

pull/11/head
Sébastien BEAU 9 years ago
parent
commit
51f3c45a03
  1. 41
      report_custom_filename/README.rst
  2. 43
      report_custom_filename/__openerp__.py
  3. 0
      report_custom_filename/static/src/img/icon.png

41
report_custom_filename/README.rst

@ -1,41 +0,0 @@
Custom report filenames
=======================
This addon allows for custom filenames for reports.
Configuration
=============
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.
Known issues / Roadmap
======================
* Currently, only old-style reports (ir.actions.report.xml) are supported, it should be simple to add support for qweb reports.
Credits
=======
Contributors
------------
* Holger Brunn <hbrunn@therp.nl>
* Sébastien Beau <sebastien.beau@akretion.com>
Icon
----
Icon courtesy of http://www.picol.org/ (download_settings.svg)
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
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.
To contribute to this module, please visit http://odoo-community.org.

43
report_custom_filename/__openerp__.py

@ -26,6 +26,49 @@
"license": "AGPL-3",
"complexity": "normal",
"category": "Reporting",
"description": """
Custom report filenames
=======================
This addon allows for custom filenames for reports.
Configuration
=============
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.
Known issues / Roadmap
======================
* Currently, only old-style reports (ir.actions.report.xml) are supported, it should be simple to add support for qweb reports.
Credits
=======
Contributors
------------
* Holger Brunn <hbrunn@therp.nl>
* Sébastien Beau <sebastien.beau@akretion.com>
Icon
----
Icon courtesy of http://www.picol.org/ (download_settings.svg)
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
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.
To contribute to this module, please visit http://odoo-community.org.
""",
"depends": [
'web',
'email_template',

0
report_custom_filename/static/description/icon.png → report_custom_filename/static/src/img/icon.png

Before

Width: 100  |  Height: 100  |  Size: 1.8 KiB

After

Width: 100  |  Height: 100  |  Size: 1.8 KiB

Loading…
Cancel
Save