From f04e82b3f2a5a39d2c0cd64d0c4b8b0a36563e1a Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bonicoli Date: Tue, 22 May 2012 11:26:18 +0200 Subject: [PATCH] replace incorrect "module_name" attribute with "model" issue2602 review369002 --- doc/topics/reports/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/topics/reports/index.rst b/doc/topics/reports/index.rst index 7adeab0f2a..65129ed34a 100644 --- a/doc/topics/reports/index.rst +++ b/doc/topics/reports/index.rst @@ -63,7 +63,7 @@ When defining an `ir.action.report` the following attributes are available: * ``report_name``: The name of the report model, for example my_module.my_report. This is the name you would use with `Pool().get` - * ``module_name``: If this report is of an existing model this is its name. + * ``model``: If this report is of an existing model this is its name. For example my_module.my_model. Custom reports that aren't of a specific model will need to leave this blank. @@ -183,7 +183,7 @@ Creating a simple report template for a model in XML Less work has to be done if you just want a simple report representation of a model. There are just 2 steps. First, create a report template file in a format supported by relatorio. Second, describe your report in XML making sure -to define the correct report_name and module_name. +to define the correct ``report_name`` and ``model``. Replacing existing Tryton reports ---------------------------------