From 40414a3d77384317ab4eabd64ce328b5a9d90559 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 9 Oct 2015 12:50:15 +0200 Subject: [PATCH] [FIX] sale_layout: print of invoices with sections set The print of invoices using sections were not working, due to the fact the `sale_layout.subtotal_template` template expects `doc` as the browse record, while in the `report_invoice_document`, the browser record is set as `o`. opw-651747 --- addons/sale_layout/views/report_invoice_layouted.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/sale_layout/views/report_invoice_layouted.xml b/addons/sale_layout/views/report_invoice_layouted.xml index e3d34bfe1bb..f3fa4af21a6 100644 --- a/addons/sale_layout/views/report_invoice_layouted.xml +++ b/addons/sale_layout/views/report_invoice_layouted.xml @@ -30,7 +30,9 @@ - + + +