From 0d933c89968f9430c957322daf50021763c5d532 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 17 Jun 2015 11:09:52 +0200 Subject: [PATCH] Add module report_xml_sample. --- report_xml/README.rst | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/report_xml/README.rst b/report_xml/README.rst index 6849c1e2..564bedf3 100644 --- a/report_xml/README.rst +++ b/report_xml/README.rst @@ -16,6 +16,9 @@ To install this module, you need to: * Install lxml_ in Odoo's ``$PYTHONPATH``. * Install the repository `reporting-engine`_. +But this module does nothing for the end user by itself, so if you have it +installed it's probably because there is another module that depends on it. + Configuration ============= @@ -24,10 +27,18 @@ No manual configuration is needed. Usage ===== -This module is technical, so its usage instructions are intended for module -developers. +If you are a user +----------------- + +You will be able to download XML reports from the *Print* menu found on form +and list views. + +If you are a developer +---------------------- -To use this module, you need to: +To learn from an example, just check the `sample module`_. + +To develop with this module, you need to: * Create a module. * Make it depend on this one. @@ -39,11 +50,13 @@ In case you want to create a `custom report`_, the instructions remain the same as for HTML reports, and the method that you must override is also called ``render_html``, even when this time you are creating a XML report. -You can visit http:///report/xml// -to see your XML report online as a web page. +You can make your custom report inherit ``report_xml.xsd_checked_report``, name +it like your XML ``