diff --git a/report_qweb_txt/README.rst b/report_qweb_txt/README.rst index adc77ca9..645e2688 100644 --- a/report_qweb_txt/README.rst +++ b/report_qweb_txt/README.rst @@ -16,7 +16,9 @@ To add a text report, you should develop an Odoo module that contains: * a Qweb template, * a Qweb report definition with *report_type = qweb-txt*. -The module *purchase_dilicom_csv* available on the `dilicom Github repository `_ (branch *10.0*) is a good example: it adds a report *Dilicom CSV Order* on purchase orders. This report is a CSV file with one line per order line and 2 columns: EAN13 and order quantity. +This module provides a small demo report on *Users* called *CSV List*. + +The module *purchase_dilicom_csv* available on the `dilicom Github repository `_ (branch *10.0*) is a better example: it adds a report *Dilicom CSV Order* on purchase orders. This report is a CSV file with one line per order line and 2 columns: EAN13 and order quantity. .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot diff --git a/report_qweb_txt/__manifest__.py b/report_qweb_txt/__manifest__.py index 4fe87656..5e853a69 100644 --- a/report_qweb_txt/__manifest__.py +++ b/report_qweb_txt/__manifest__.py @@ -11,5 +11,6 @@ 'author': 'Akretion,Odoo Community Association (OCA)', 'website': 'http://www.akretion.com', 'depends': ['report'], + 'demo': ['demo/report.xml', 'demo/res_users_report.xml'], 'installable': True, } diff --git a/report_qweb_txt/demo/report.xml b/report_qweb_txt/demo/report.xml new file mode 100644 index 00000000..37de6605 --- /dev/null +++ b/report_qweb_txt/demo/report.xml @@ -0,0 +1,13 @@ + + + + + + + diff --git a/report_qweb_txt/demo/res_users_report.xml b/report_qweb_txt/demo/res_users_report.xml new file mode 100644 index 00000000..65dfb7b9 --- /dev/null +++ b/report_qweb_txt/demo/res_users_report.xml @@ -0,0 +1,9 @@ + + + + + +