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 | |
| 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')
| -rw-r--r-- | doc/reference/actions.rst | 9 | ||||
| -rw-r--r-- | doc/reference/data.rst | 10 |
2 files changed, 7 insertions, 12 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 diff --git a/doc/reference/data.rst b/doc/reference/data.rst index 09c8a61891c..6dd0d7ccd9b 100644 --- a/doc/reference/data.rst +++ b/doc/reference/data.rst @@ -258,15 +258,7 @@ section of the view, and allowing a few *optional* attributes: website interface) and its default status. If unset, the view is always enabled. -``report`` ----------- - -Creates a :ref:`IrActionsReport <reference/actions/report>` record with a few default values. - -Mostly just proxies attributes to the corresponding fields on -``ir.actions.report``, but also automatically creates the item in the -:guilabel:`More` menu of the report's ``model``. - +.. deprecated act_window & report .. ignored url, act_window and ir_set CSV data files |
