summaryrefslogtreecommitdiff
path: root/indoteknik_custom/report/purchase_order.xml
blob: 98af3188536c115a9fe8875bd29992a3d91b9044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<odoo>
    <template id="report_purchase_order_npwp" inherit_id="purchase.report_purchaseorder_document">
        <xpath expr="//p[@t-field='o.notes']" position="after">
            <div class="col-12" name="right_box">
                <b>NPWP</b><br/>74.226.022.7-086.000<br/><b>PT. INDOTEKNIK DOTCOM GEMILANG</b><br/>JALAN BANDENGAN UTARA BLOK 85A NO 8-9<br/>PENJARINGAN, PENJARINGAN<br/>KOTA ADM, JAKARTA UTARA DKI JAKARTA 14440
            </div>
        </xpath>
        <xpath expr="//div[@id='informations']" position="inside">
            <div t-if="o.date_planned" class="col-3 bm-2">
                <strong>Receipt Date:</strong>
                <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>