diff --git a/addons/sale_stock/views/report_invoice.xml b/addons/sale_stock/views/report_invoice.xml index 0e12889a24ec4b0a3089dccd6f1ba8e8b85109d7..228ee7ffd41e5bbcb5dcd5f966dce6f78c2d7615 100644 --- a/addons/sale_stock/views/report_invoice.xml +++ b/addons/sale_stock/views/report_invoice.xml @@ -2,10 +2,11 @@ <odoo> <template id="sale_stock_report_invoice_document" inherit_id="account.report_invoice_document"> <xpath expr="//div[@id='total']" position="after"> + <t groups="sale_stock.group_lot_on_invoice"> <t t-set="lot_values" t-value="o._get_invoiced_lot_values()"/> <t t-if="lot_values"> <br/> - <table groups="sale_stock.group_lot_on_invoice" class="table table-sm" style="width: 50%;" name="invoice_snln_table"> + <table class="table table-sm" style="width: 50%;" name="invoice_snln_table"> <thead> <tr> <th><span>Product</span></th> @@ -27,6 +28,7 @@ </tbody> </table> </t> + </t> </xpath> </template> </odoo>