mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-28 11:14:03 +02:00
modify invoice report
This commit is contained in:
94
reports/views/invoice_report.xml
Normal file
94
reports/views/invoice_report.xml
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="account_invoice_inherit_form_view2" model="ir.ui.view">
|
||||
<field name="name">account_invoice_inherit.inherit_form_view</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form" />
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='journal_id']" position="after">
|
||||
<field name="txn_id"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<template id="report_invoices_inherit1" inherit_id="bi_professional_reports_templates.fency_report_invoice_document">
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[1]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
<p>E & OE</p><br/>
|
||||
<span>Print Date: <span t-esc="o.print_date"/></span><br/>
|
||||
<span>Signed by: <span t-esc="o.signed_by"/></span>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="report_invoices_inherit2" inherit_id="bi_professional_reports_templates.classic_report_invoice_document">
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[1]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
<p>E & OE</p><br/>
|
||||
<span>Print Date: <span t-esc="o.print_date"/></span><br/>
|
||||
<span>Signed by: <span t-esc="o.signed_by"/></span>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="report_invoices_inherit3" inherit_id="bi_professional_reports_templates.modern_report_invoice_document">
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[1]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
<p>E & OE</p><br/>
|
||||
<span>Print Date: <span t-esc="o.print_date"/></span><br/>
|
||||
<span>Signed by: <span t-esc="o.signed_by"/></span>
|
||||
</xpath>
|
||||
</template>
|
||||
<template id="report_invoices_inherit4" inherit_id="bi_professional_reports_templates.odoo_std_report_invoice_document">
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[1]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="before">
|
||||
<strong>TRN#</strong>
|
||||
<span t-esc="o.txn_id"/><br/>
|
||||
<strong>YOUR ORDER NO:</strong><br/>
|
||||
<div class="text-right"><strong>D.O.NOS</strong><br/></div>
|
||||
<div class="text-right"><strong>M.R.V NO.</strong><br/></div>
|
||||
<strong>Sale Code:</strong>
|
||||
<span t-esc="o.invoice_origin"/>
|
||||
</xpath>
|
||||
<xpath expr="//t[@t-call='web.external_layout']/div/p[last()]" position="after">
|
||||
<p>E & OE</p><br/>
|
||||
<span>Print Date: <span t-esc="o.print_date"/></span><br/>
|
||||
<span>Signed by: <span t-esc="o.signed_by"/></span>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user