[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
This commit is contained in:
Denis Ledoux
2015-10-09 12:52:13 +02:00
parent eae28fbc0a
commit 40414a3d77
@@ -30,7 +30,9 @@
</t>
<!-- Subtotal -->
<t t-call="sale_layout.subtotal_template"/>
<t t-call="sale_layout.subtotal_template">
<t t-set="doc" t-value="o"/>
</t>
<!-- Separator -->
<t t-call="sale_layout.separator_template"/>