mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Add discount + price_subtotal fields to the contract lines in the portal view.
TT34117
This commit is contained in:
@@ -212,6 +212,14 @@
|
||||
name="th_price_unit"
|
||||
class="text-right"
|
||||
>Price unit</th>
|
||||
<th
|
||||
name="th_discount"
|
||||
class="text-right"
|
||||
>Discount (%)</th>
|
||||
<th
|
||||
name="th_price_subtotal"
|
||||
class="text-right"
|
||||
>Sub Total</th>
|
||||
<th
|
||||
name="th_recurring_interval"
|
||||
class="text-right"
|
||||
@@ -249,6 +257,21 @@
|
||||
t-options='{"widget": "monetary", "display_currency": contract.currency_id}'
|
||||
/>
|
||||
</td>
|
||||
<td
|
||||
name="td_discount"
|
||||
class="text-right"
|
||||
>
|
||||
<span t-field="line.discount" />
|
||||
</td>
|
||||
<td
|
||||
name="td_price_subtotal"
|
||||
class="text-right"
|
||||
>
|
||||
<span
|
||||
t-field="line.price_subtotal"
|
||||
t-options='{"widget": "monetary", "display_currency": contract.currency_id}'
|
||||
/>
|
||||
</td>
|
||||
<td
|
||||
name="td_recurring_interval"
|
||||
class="text-right"
|
||||
|
||||
Reference in New Issue
Block a user