mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 18:29:08 +02:00
work on sales report
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -10,6 +10,12 @@
|
|||||||
</t>
|
</t>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="row mt32 mb32">
|
<div class="row mt32 mb32">
|
||||||
|
<div class="col-12">
|
||||||
|
<font color="#fff"><img t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 250px;"/></font>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="row mt32 mb32">
|
||||||
<div class="col-6">
|
<div class="col-6">
|
||||||
<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 50px;" />
|
<img t-if="company.logo" t-att-src="'data:image/png;base64,%s' % to_text(company.logo)" style="max-height: 50px;" />
|
||||||
</div>
|
</div>
|
||||||
@@ -27,7 +33,7 @@
|
|||||||
<span t-field="company.partner_id.vat" />
|
<span t-field="company.partner_id.vat" />
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<t t-call="web.external_layout">
|
<t t-call="web.external_layout">
|
||||||
@@ -37,14 +43,15 @@
|
|||||||
<div >
|
<div >
|
||||||
<div style=" background-color: #3498DB;">
|
<div style=" background-color: #3498DB;">
|
||||||
<h2>
|
<h2>
|
||||||
<span ><font color="#fff">Order# </font></span>
|
<span t-if="doc.state not in ['draft','sent']"><font color="#fff">Order #</font></span>
|
||||||
|
<span t-if="doc.state in ['draft','sent']"><font color="#fff">Quotation # </font></span>
|
||||||
<font color="#fff"><span t-field="o.name"/></font>
|
<font color="#fff"><span t-field="o.name"/></font>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<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 References</strong>
|
||||||
<p t-field="o.client_order_ref"/></font>
|
<p t-field="o.client_order_ref"/></font>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -66,7 +73,6 @@
|
|||||||
<p t-field="o.user_id"/></font>
|
<p t-field="o.user_id"/></font>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row mt32 mb32">
|
<div class="row mt32 mb32">
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
@@ -77,13 +83,14 @@
|
|||||||
<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>Sales Code</strong>
|
<strong>Sales Code</strong>
|
||||||
<p t-field="o.date_order"/></font>
|
</font>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-3" t-if="o.payment_term_id">
|
<div class="col-3">
|
||||||
<font color="#fff">
|
<font color="#fff">
|
||||||
<strong>RFQ</strong>
|
<strong>RFQ</strong>
|
||||||
<p t-field="o.payment_term_id"/></font>
|
<p/></font>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
'maintainer': '',
|
'maintainer': '',
|
||||||
'website': "",
|
'website': "",
|
||||||
'depends': [
|
'depends': [
|
||||||
'base','report', 'account', 'bi_professional_reports_templates'
|
'base','account', 'bi_professional_reports_templates'
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
'views/invoice_report.xml',
|
'views/invoice_report.xml',
|
||||||
|
|||||||
BIN
reports/views/.sale_report.xml.swp
Normal file
BIN
reports/views/.sale_report.xml.swp
Normal file
Binary file not shown.
@@ -1,30 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<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">
|
|
||||||
<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></strong><br/>
|
|
||||||
<strong>RFQ</strong><br/> -->
|
|
||||||
</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/>
|
||||||
<span style="color:blue;">All prices quoted are new materials.</span>
|
<span style="color:blue;">All prices quoted are new materials.</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user