round weight to 2 decimals (fix)
parent
246e1ed1f6
commit
46f0620656
|
|
@ -183,7 +183,7 @@
|
|||
</td>
|
||||
<td class="text-right">
|
||||
<t t-if="invoice_line.weight and not invoice_line.dealer_discount">
|
||||
<span t-field="round(invoice_line.weight,2)"/>
|
||||
<span t-esc="round(invoice_line.weight,2)"/>
|
||||
kg
|
||||
</t>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -243,7 +243,7 @@
|
|||
</t>
|
||||
<t t-if="move_line.lot_id and not move_line.product_id.can_be_sold_unconfigured">
|
||||
<!-- <t t-set="weight" t-value="move_line.ordered_qty*move_line.lot_id.weight"/> -->
|
||||
<span t-field="round(move_line.lot_id.weight,2)"/>
|
||||
<span t-esc="round(move_line.lot_id.weight,2)"/>
|
||||
</t>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
|
|
@ -275,7 +275,7 @@
|
|||
<div class="col-xs-6">
|
||||
<span style="padding-top: 5px; border-top: 1px solid;">
|
||||
<strong>Total Weight:</strong>
|
||||
<span t-field="round(o.weight,2)"/>
|
||||
<span t-esc="round(o.weight,2)"/>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-xs-6">
|
||||
|
|
|
|||
Loading…
Reference in New Issue