work on sale order report

This commit is contained in:
sonal arora
2020-09-15 01:14:40 +05:30
parent b690904753
commit 383add90d1
2 changed files with 17 additions and 10 deletions

Binary file not shown.

View File

@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<template id="report_payment_receipt_view_documents">
<div class="header">
<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>
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context(lang=lang)"/>
<div class="page">
@@ -8,15 +15,15 @@
<table class="table table-sm">
<tr>
<th style="border:1px solid;width:50%;top:2px">
<strong>Code: </strong><br/>
<strong>Address: </strong><br/>
<strong>Telephone Number: </strong><br/>
<strong>Account Payee: </strong><br/>
<div class="col-2"><strong>Code</strong></div>:
<div class="col-2"><strong>Address</strong></div>:
<div class="col-2"><strong>Telephone Number: </strong></div>:
<div class="col-2"><strong>Account Payee</strong></div>:
</th>
<th style="width:5%;"></th>
<th style="border:1px solid;width:45%">
<strong>Receipt Number: </strong><span t-field="o.name"/><br/>
<strong>Date: </strong><span t-field="o.payment_date"/><br/>
<div class="col-2"><strong>Receipt Number: </strong></div>:<span t-field="o.name"/><br/>
<div class="col-2"><strong>Date: </strong></div>:<span t-field="o.payment_date"/><br/>
</th>
</tr>
<tr>
@@ -36,13 +43,13 @@
<table class="table table-sm">
<tr>
<th style="border:1px solid;width:50%">
<strong>Bank Account: </strong><br/>
<strong>Bank Account Number: </strong><br/>
<div class="col-2"><strong>Bank Account</strong></div>:
<div class="col-2"><strong>Bank Account Number: </strong></div>:
</th>
<th style="width:5%;"></th>
<th style="border:1px solid;width:45%">
<strong>Currency: </strong><span t-field="o.currency_id.name"/><br/>
<strong>Exchange Rate: </strong><br/>
<div class="col-2"><strong>Currency</strong></div>:<span t-field="o.currency_id.name"/><br/>
<div class="col-2"><strong>Exchange Rate</strong></div>:
</th>
</tr>
<!-- <div class="row mt64">