From 255de893300d73670a15a102e85162ae48084d7c Mon Sep 17 00:00:00 2001 From: mdi-odoo Date: Wed, 18 Jan 2017 16:57:19 +0530 Subject: [PATCH] [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 --- addons/event/report/event_event_templates.xml | 4 ++-- addons/hr_attendance/report/hr_employee_badge.xml | 2 +- addons/point_of_sale/views/report_userlabel.xml | 2 +- addons/product/report/product_product_templates.xml | 2 +- addons/product/report/product_template_templates.xml | 2 +- addons/report/views/templates.xml | 8 ++++++++ addons/stock/report/report_location_barcode.xml | 2 +- addons/stock/report/report_lot_barcode.xml | 2 +- addons/stock/report/report_package_barcode.xml | 4 ++-- 9 files changed, 18 insertions(+), 10 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 @@