Hide discount on reports
parent
8532166c1e
commit
1c38e263e4
|
|
@ -160,7 +160,10 @@
|
|||
<span t-field="invoice_line.name"/>
|
||||
</td>
|
||||
<td class="text-right">
|
||||
<span t-field="invoice_line.price_unit"/>
|
||||
<span t-if="invoice_line.hide_discount"
|
||||
t-field="invoice_line.price_reduce"/>
|
||||
<span t-if="not invoice_line.hide_discount"
|
||||
t-field="invoice_line.price_unit"/>
|
||||
</td>
|
||||
<td class="text-right" t-if="discount_is_set">
|
||||
<span t-if="not invoice_line.hide_discount"
|
||||
|
|
|
|||
|
|
@ -122,7 +122,10 @@
|
|||
</t>
|
||||
</td>
|
||||
<td rowspan="2" class="text-right">
|
||||
<span t-field="order_line.price_unit"/>
|
||||
<span t-if="order_line.hide_discount"
|
||||
t-field="order_line.price_reduce"/>
|
||||
<span t-if="not order_line.hide_discount"
|
||||
t-field="order_line.price_unit"/>
|
||||
</td>
|
||||
<td rowspan="2" class="text-right" t-if="discount_is_set">
|
||||
<span t-if="not order_line.hide_discount" t-field="order_line.discount"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue