diff options
| author | Victor Feyens <vfe@odoo.com> | 2020-10-15 17:11:14 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-10-15 17:11:28 +0000 |
| commit | 052c524d7868ea683038d18a22022658abb0511c (patch) | |
| tree | e49aa56b72d2754f2b07fa31bbd09f9356ea7221 /doc/reference/actions.rst | |
| parent | 91e2a4c8e34a75028c8ec2dfc17c951d8f45296e (diff) | |
[FIX] doc: unclear report actions fields and report tag attributes.
FW-change: remove report section in data.rst since report xml tag usage
is now deprecated (#54564)
closes odoo/odoo#60129
X-original-commit: 3fdc64062eb9eaf1a345115da08dec3d69873330
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'doc/reference/actions.rst')
| -rw-r--r-- | doc/reference/actions.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index 3801c6e3ab8..12eeefaf2a7 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -344,14 +344,17 @@ not necessary to set ``binding_type`` to ``report``, since ``name`` (mandatory) - only useful as a mnemonic/description of the report when looking for one - in a list of some sort + used as the file name if ``print_report_name`` is not specified. + Otherwise, only useful as a mnemonic/description of the report + when looking for one in a list of some sort ``model`` (mandatory) the model your report will be about ``report_type`` (default=qweb-pdf) either ``qweb-pdf`` for PDF reports or ``qweb-html`` for HTML ``report_name`` (mandatory) - the name of your report (which will be the name of the PDF output) + the name (:term:`external id`) of the qweb template used to render the report +``print_report_name`` + python expression defining the name of the report. ``groups_id`` :class:`~odoo.fields.Many2many` field to the groups allowed to view/use the current report |
