diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-12 10:35:01 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-09-12 10:35:01 +0700 |
| commit | 16acaa437f203ccfa52aba132225b2bb82ac1c79 (patch) | |
| tree | d4ce062668f1f6d2642e5280f979e60d0acf05a0 /indoteknik_custom/report | |
| parent | f03e6dc2ee2f3cd34eca15e81cd8964c07089ef4 (diff) | |
| parent | a8e539c92236453ce7aad06d23cf117f4b7239fc (diff) | |
Merge branch 'production' into unreserved_permission
# Conflicts:
# indoteknik_api/controllers/api_v1/cart.py
# indoteknik_custom/models/sale_order.py
Diffstat (limited to 'indoteknik_custom/report')
| -rw-r--r-- | indoteknik_custom/report/purchase_order.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/report/purchase_order.xml b/indoteknik_custom/report/purchase_order.xml index 0f392630..98af3188 100644 --- a/indoteknik_custom/report/purchase_order.xml +++ b/indoteknik_custom/report/purchase_order.xml @@ -11,5 +11,21 @@ <p t-field="o.date_planned" class="m-0"/> </div> </xpath> + <xpath expr="//tr[@class='border-black o_total']" position="after"> + <tr t-if="o.delivery_amt"> + <td name="td_subtotal_label"><strong>Delivery Amt</strong></td> + <td class="text-right"> + <span t-field="o.delivery_amt" + t-options='{"widget": "monetary", "display_currency": o.currency_id}'/> + </td> + </tr> + <tr class="border-black" t-if="o.delivery_amt"> + <td name="td_subtotal_label"><strong>Grand Total</strong></td> + <td class="text-right"> + <span t-field="o.grand_total" + t-options='{"widget": "monetary", "display_currency": o.currency_id}'/> + </td> + </tr> + </xpath> </template> </odoo> |
