diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-11-23 17:40:15 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-11-23 17:40:15 +0100 |
| commit | 32fd520d973103ed3225975ca211d5b5852c6609 (patch) | |
| tree | 16c00f7e5105ea9c696092d677cace9446fd0c16 /doc/reference | |
| parent | 5c9b4556e35c420985696b0c958ca492030efa4a (diff) | |
| parent | 6f29cbe3ace5302781aa51d727b4358903efb373 (diff) | |
[MERGE] forward port of branch 8.0 up to 6f29cbe
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/reports.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/reference/reports.rst b/doc/reference/reports.rst index ca3befe6596..1ee0f629013 100644 --- a/doc/reference/reports.rst +++ b/doc/reference/reports.rst @@ -216,19 +216,20 @@ Useful Remarks * Twitter Bootstrap and FontAwesome classes can be used in your report template * Local CSS can be put directly in the template - * Global CSS can be inserted in the main report layout by inheriting its template and inserting your CSS:: - <template id="report_saleorder_style" inherit_id="report.layout"> - <xpath expr="//style" position="after"> - <style type="text/css"> + <template id="report_saleorder_style" inherit_id="report.style"> + <xpath expr="."> + <t> .example-css-class { background-color: red; } - </style> + </t> </xpath> </template> +* If it appears that your PDF report is missing the styles, please check + :ref:`these instructions <reference/backend/reporting/printed-reports/pdf-without-styles>`. .. _reference/reports/paper_formats: |
