summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-08-25 16:05:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-08-25 16:05:19 +0700
commitfcd6731bd980731759dca03b1b7c0535fcaeb2a3 (patch)
treee84e548195d26925bf94bb898a6d95d92c81ea38
parentacc12eb1eb0e4d0079e380dc6d5a72511a1d79f1 (diff)
add npwp in purchase order report
-rwxr-xr-xindoteknik_custom/__manifest__.py1
-rw-r--r--indoteknik_custom/report/purchase_order.xml9
2 files changed, 10 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index 919a61a2..26e0ddb7 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -35,6 +35,7 @@
'report/report.xml',
'report/report_banner_banner.xml',
'report/report_banner_banner2.xml',
+ 'report/purchase_order.xml'
],
'demo': [],
'css': [],
diff --git a/indoteknik_custom/report/purchase_order.xml b/indoteknik_custom/report/purchase_order.xml
new file mode 100644
index 00000000..8ad92ee9
--- /dev/null
+++ b/indoteknik_custom/report/purchase_order.xml
@@ -0,0 +1,9 @@
+<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 N0 8-9<br/>PENJARINGAN, PENJARINGAN<br/>KOTA ADM, JAKARTA UTARA DKI JAKARTA 14440
+ </div>
+ </xpath>
+ </template>
+</odoo>