[FIX] web: fix invoice preview

Before this commit, the `report_invoice_wizard_preview` was rendered well in
html and in the preview (settings page) but not when downloading it ; the
"total" table was pushed all the way to the right.

opw-3648586

closes odoo/odoo#149509

X-original-commit: 232c257c1554f2f47b589a971cdf9f98227ef53c
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Adrien Milis (miad) <miad@odoo.com>
This commit is contained in:
miad-odoo
2024-01-16 11:40:03 +00:00
parent 763511d09d
commit 2d5d178403
+2 -2
View File
@@ -189,7 +189,7 @@
</table>
<div class="clearfix">
<div class="row">
<div class="col-md-6">
<div class="col-6">
<p name="payment_term">
<span>Payment terms: 30 Days</span>
</p>
@@ -197,7 +197,7 @@
Payment Communication: <b><span>INV/2023/00003</span></b>
</p>
</div>
<div id="total" class="col-md-6">
<div id="total" class="col-6">
<table class="table table-sm table-borderless" style="page-break-inside: avoid; position:relative;">
<tbody><tr class="border-black o_subtotal" style="">
<td><strong>Untaxed Amount</strong></td>