[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:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user