From 65093459e950c4a0b313b955a17b22765fa1e082 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Thu, 18 Apr 2019 15:56:46 +0000 Subject: [PATCH] [DOC] ir actions report minor fixes --- doc/reference/actions.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index dd00ce0ab5e..c545075b87b 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -161,6 +161,9 @@ The server-side composition of the ``views`` sequence is the following: * ``groups_id``? * ``filter``? +.. [#notquitem2m] technically not an M2M: adds a sequence field and may be + composed of just a view type, without a view id. + .. _reference/actions/url: URL Actions (``ir.actions.act_url``) @@ -317,13 +320,15 @@ Triggers the printing of a report in a list of some sort ``model`` (mandatory) the model your report will be about -``report_type`` (mandatory) +``report_type`` (default=qweb-pdf) either ``qweb-pdf`` for PDF reports or ``qweb-html`` for HTML -``report_name`` +``report_name`` (mandatory) the name of your report (which will be the name of the PDF output) ``groups_id`` :class:`~odoo.fields.Many2many` field to the groups allowed to view/use the current report +``multi`` + if set to ``True``, the action will not be displayed on a form view. ``paperformat_id`` :class:`~odoo.fields.Many2one` field to the paper format you wish to use for this report (if not specified, the company format will be used) @@ -367,9 +372,6 @@ Triggers an action implemented entirely in the client. tells the client to start the Point of Sale interface, the server has no idea how the POS interface works. -.. [#notquitem2m] technically not an M2M: adds a sequence field and may be - composed of just a view type, without a view id. - .. _reference/actions/cron: Automated Actions (``ir.cron``)