diff options
| author | mdi-odoo <mdi@tinyerp.com> | 2017-01-18 16:57:19 +0530 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-01-23 13:00:00 +0100 |
| commit | 255de893300d73670a15a102e85162ae48084d7c (patch) | |
| tree | 52e5de14ca1d62315e625921708a86e0ac91cec4 /addons/event/report | |
| parent | e83a40f38bcef997868330841b82b14c2610fe48 (diff) | |
[FIX] report,*: correct reports without header/footer
Since 3d04e44880fb77812e65342ef25bb8ad06094ddc [0], the class `article`
is used instead of `page`. As reports not using `external_layout` does
still manually used `page` class as wrapper, there were not rendered
properly. Force these reports to correctly wrap their content into an
`article` div by using a dedicated template.
Closes #15118
[0] more precisely https://git.io/vM58c
Diffstat (limited to 'addons/event/report')
| -rw-r--r-- | addons/event/report/event_event_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/event/report/event_event_templates.xml b/addons/event/report/event_event_templates.xml index 3720744ce48..e9a3fd26257 100644 --- a/addons/event/report/event_event_templates.xml +++ b/addons/event/report/event_event_templates.xml @@ -3,7 +3,7 @@ <!-- template use to render a Registration Badge --> <template id="event_registration_report_template_badge"> - <t t-call="report.html_container"> + <t t-call="report.basic_layout"> <t t-foreach="docs" t-as="o"> <div class="page"> <div class="row"> @@ -55,7 +55,7 @@ <!-- template use to edit Event Badget (allow to set the HTML badge fields) --> <template id="event_event_report_template_badge"> - <t t-call="report.html_container"> + <t t-call="report.basic_layout"> <div class="page"> <t t-foreach="docs" t-as="event"> <div class="row"> |
