diff options
| author | Damien Bouvy <dbo@odoo.com> | 2016-03-11 10:39:03 +0100 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-03-11 10:39:43 +0100 |
| commit | 18c94cc9699a8a020a6cfbe88f66c5309b15fe42 (patch) | |
| tree | 642b76d73c19df58d0e752571d013d040cbf3af0 /doc/reference | |
| parent | 4899be001abd967795faf7b0afd6f7904faf46d4 (diff) | |
[DOC] report: paperformat available in report declaration
No warning needed concerning the stupid parperformat_id inheritance hack.
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/reports.rst | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst index 1ee0f629013..f4b76a12cff 100644 --- a/doc/reference/reports.rst +++ b/doc/reference/reports.rst @@ -53,16 +53,9 @@ can take the following attributes: ``attachment`` python expression that defines the name of the report; the record is acessible as the variable ``object`` - -.. warning:: - - The paper format cannot currently be declared via the ``<report>`` - shortcut, it must be added afterwards using a ``<record>`` extension on the - report action itself:: - - <record id="<report_id>" model="ir.actions.report.xml"> - <field name="paperformat_id" ref="<paperformat>"/> - </record> +``paperformat`` + external id of the paperformat you wish to use (defaults to the company's + paperformat if not specified) Example:: |
