[FIX] sale: Missing numbers on SO reports
When inputting long numbers in a SO report, some numbers are cutoff. Step to reproduce the issue: 1) Set paper format to A4 2) Make a SO for at least 100,000,000.00 with TVA 3) Print The total print cut off on the edge, does not happen on invoices. Solution: The div was not spanning on enough columns resulting on a overflow. The solution is similar to what was done on invoices, just increase the col-X. The same change was done on the portal as the issue would be similar. opw-2817634 closes odoo/odoo#89705 X-original-commit: 48bea617dbf2ee6352a39a1735ff05d0d08f3bb4 Signed-off-by: Desausoi Laurent (lade) <lade@odoo.com>
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
|
||||
<div class="clearfix" name="so_total_summary">
|
||||
<div id="total" class="row" name="total">
|
||||
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-5'} ml-auto">
|
||||
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ml-auto">
|
||||
<table class="table table-sm">
|
||||
<!-- Tax totals -->
|
||||
<t t-set="tax_totals" t-value="json.loads(doc.tax_totals_json)"/>
|
||||
|
||||
@@ -548,7 +548,7 @@
|
||||
</table>
|
||||
|
||||
<div id="total" class="row" name="total" style="page-break-inside: avoid;">
|
||||
<div t-attf-class="#{'col-4' if report_type != 'html' else 'col-sm-7 col-md-5'} ml-auto">
|
||||
<div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ml-auto">
|
||||
<t t-call="sale.sale_order_portal_content_totals_table"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user