From 51f3c45a039b10ff944fd8e40a738061cc6a896b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Fri, 8 May 2015 15:35:30 +0200 Subject: [PATCH] [FIX] fix description and icon backport --- report_custom_filename/README.rst | 41 ----------------- report_custom_filename/__openerp__.py | 43 ++++++++++++++++++ .../static/{description => src/img}/icon.png | Bin 3 files changed, 43 insertions(+), 41 deletions(-) delete mode 100644 report_custom_filename/README.rst rename report_custom_filename/static/{description => src/img}/icon.png (100%) diff --git a/report_custom_filename/README.rst b/report_custom_filename/README.rst deleted file mode 100644 index 821fed77..00000000 --- a/report_custom_filename/README.rst +++ /dev/null @@ -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 -* Sébastien Beau - -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. diff --git a/report_custom_filename/__openerp__.py b/report_custom_filename/__openerp__.py index 6777ec55..3c72f4f7 100644 --- a/report_custom_filename/__openerp__.py +++ b/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 +* Sébastien Beau + +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', diff --git a/report_custom_filename/static/description/icon.png b/report_custom_filename/static/src/img/icon.png similarity index 100% rename from report_custom_filename/static/description/icon.png rename to report_custom_filename/static/src/img/icon.png