mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
work on sale order report
This commit is contained in:
@@ -44,25 +44,25 @@
|
|||||||
<div class="row mt32 mb32">
|
<div class="row mt32 mb32">
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
<strong>Your Reference:</strong>
|
<strong>Your Reference</strong>
|
||||||
<p t-field="o.client_order_ref"/></font>
|
<p t-field="o.client_order_ref"/></font>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-3" t-if="o.date_order">
|
<div class="col-3" t-if="o.date_order">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
<strong>Order Date:</strong>
|
<strong>Order Date</strong>
|
||||||
<p t-field="o.date_order"/></font>
|
<p t-field="o.date_order"/></font>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-3" t-if="o.payment_term_id">
|
<div class="col-3" t-if="o.payment_term_id">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
<strong> Payment Term: </strong>
|
<strong> Payment Term</strong>
|
||||||
<p t-field="o.payment_term_id"/></font>
|
<p t-field="o.payment_term_id"/></font>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-3" t-if="o.user_id">
|
<div class="col-3" t-if="o.user_id">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
<strong>Sales Person:</strong>
|
<strong>Sales Person</strong>
|
||||||
<p t-field="o.user_id"/></font>
|
<p t-field="o.user_id"/></font>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
|
|
||||||
<div class="row mt32 mb32">
|
<div class="row mt32 mb32">
|
||||||
<div class="col-6 ">
|
<div class="col-6 ">
|
||||||
<strong>Customer Address:</strong><br/>
|
<strong>Customer Address</strong><br/>
|
||||||
<span t-field="o.partner_id" /><br/>
|
<span t-field="o.partner_id" /><br/>
|
||||||
<span t-if="o.partner_id.street"
|
<span t-if="o.partner_id.street"
|
||||||
t-field="o.partner_id.street" /><br/>
|
t-field="o.partner_id.street" /><br/>
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
<span t-if="o.partner_id.zip" t-field="o.partner_id.zip" />
|
<span t-if="o.partner_id.zip" t-field="o.partner_id.zip" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-6 text-right">
|
<div class="col-6 text-right">
|
||||||
<strong>Shipping Address:</strong><br/>
|
<strong>Shipping Address</strong><br/>
|
||||||
<span t-field="o.partner_shipping_id" />
|
<span t-field="o.partner_shipping_id" />
|
||||||
<br/>
|
<br/>
|
||||||
<span t-field="o.partner_shipping_id.street" />
|
<span t-field="o.partner_shipping_id.street" />
|
||||||
|
|||||||
@@ -2,9 +2,28 @@
|
|||||||
<odoo>
|
<odoo>
|
||||||
<template id="custom_sale_report" inherit_id="bi_professional_reports_templates.fency_report_saleorder_document">
|
<template id="custom_sale_report" inherit_id="bi_professional_reports_templates.fency_report_saleorder_document">
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/div[1]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/div[1]" position="after">
|
||||||
<strong>Validity:</strong><br/>
|
<div class="row mt32 mb32">
|
||||||
<strong>Sales Code:</strong><br/>
|
<div class="col-3">
|
||||||
<strong>RFQ</strong><br/>
|
<font color="#fff">
|
||||||
|
<strong>Validity</strong>
|
||||||
|
<p t-field="o.client_order_ref"/></font>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-3" t-if="o.date_order">
|
||||||
|
<font color="#fff">
|
||||||
|
<strong>Sales Code</strong>
|
||||||
|
<p t-field="o.date_order"/></font>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-3" t-if="o.payment_term_id">
|
||||||
|
<font color="#fff">
|
||||||
|
<strong>RFQ</strong>
|
||||||
|
<p t-field="o.payment_term_id"/></font>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <strong>Validity</strong><br/>
|
||||||
|
<strong></strong><br/>
|
||||||
|
<strong>RFQ</strong><br/> -->
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]" position="after">
|
||||||
<span style="color:blue;">NOTE:</span><br/>
|
<span style="color:blue;">NOTE:</span><br/>
|
||||||
@@ -18,9 +37,28 @@
|
|||||||
</template>
|
</template>
|
||||||
<template id="custom_sale_report1" inherit_id="bi_professional_reports_templates.classic_report_saleorder_document">
|
<template id="custom_sale_report1" inherit_id="bi_professional_reports_templates.classic_report_saleorder_document">
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table[1]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table[1]" position="after">
|
||||||
<strong>Validity:</strong><br/>
|
<div class="row mt32 mb32">
|
||||||
|
<div class="col-3">
|
||||||
|
<font color="#fff">
|
||||||
|
<strong>Validity</strong>
|
||||||
|
<p t-field="o.client_order_ref"/></font>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-3" t-if="o.date_order">
|
||||||
|
<font color="#fff">
|
||||||
|
<strong>Sales Code</strong>
|
||||||
|
<p t-field="o.date_order"/></font>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-3" t-if="o.payment_term_id">
|
||||||
|
<font color="#fff">
|
||||||
|
<strong>RFQ</strong>
|
||||||
|
<p t-field="o.payment_term_id"/></font>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <strong>Validity:</strong><br/>
|
||||||
<strong>Sales Code:</strong><br/>
|
<strong>Sales Code:</strong><br/>
|
||||||
<strong>RFQ</strong><br/>
|
<strong>RFQ</strong><br/> -->
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table[2]" position="after">
|
<xpath expr="//t[@t-call='web.external_layout']/div/div[2]/table[2]" position="after">
|
||||||
<span style="color:blue;">NOTE:</span><br/>
|
<span style="color:blue;">NOTE:</span><br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user