summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-01-12 15:45:03 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-01-12 15:45:03 +0700
commit985f2175d80b7d2fce25813512ad6f1df28dd1b9 (patch)
tree7896b5fd36c8aca81af92a00ad038f1ffe1b085e
parenteca50fa062424b6a7aa9b3d00649dd3db29b3ab6 (diff)
custom invoice print
-rwxr-xr-xindoteknik_custom/__manifest__.py1
-rw-r--r--indoteknik_custom/report/report_invoice.xml11
2 files changed, 12 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index 421b7cb2..92fa895c 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -60,6 +60,7 @@
'report/report_banner_banner.xml',
'report/report_banner_banner2.xml',
'report/purchase_order.xml',
+ 'report/report_invoice.xml'
],
'demo': [],
'css': [],
diff --git a/indoteknik_custom/report/report_invoice.xml b/indoteknik_custom/report/report_invoice.xml
new file mode 100644
index 00000000..cc9361a4
--- /dev/null
+++ b/indoteknik_custom/report/report_invoice.xml
@@ -0,0 +1,11 @@
+<odoo>
+ <template id="report_invoice_dunning" inherit_id="account.report_invoice_document">
+ <xpath expr="//t[@t-set='o']" position="before">
+ <div class="position-absolute" name="right_box" style="top:20px">
+ <div class="col-6 card border-dark">
+ <b>Jika dokumen sudah diterima mohon untuk ditanda tangani, dicap dan discan/foto untuk dikirmkan ke kami melalui email finance@indoteknik.co.id atau melalui WA di +62 821-1071-5256 (Manzilla)</b>
+ </div>
+ </div>
+ </xpath>
+ </template>
+</odoo>