sale order report

This commit is contained in:
sonal arora
2020-09-21 16:58:57 +05:30
parent 2087f97b89
commit 291b587aac

View File

@@ -8,33 +8,15 @@
<t t-if="not o or not 'company_id' in o">
<t t-set="company" t-value="res_company"></t>
</t>
<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 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>
</div>
<!--<div class="row mt32 mb32">
<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;" />
</div>
<div class="col-6 text-right" style="font:12px lucida-console,sans-serif !important;">
<span t-field="company.partner_id" />
<br/>
<span t-field="company.partner_id.street" />
<br/>
<span t-field="company.partner_id.street2" />
<br/>
<span t-field="company.partner_id.city" />
<br/>
<span t-field="company.partner_id.country_id" />
<br/>
<span t-field="company.partner_id.vat" />
<br/>
</div>
</div>-->
</div>
</div>
<t t-call="web.external_layout">
<t t-set="o" t-value="doc.with_context({'lang':doc.partner_id.lang})" />
@@ -191,8 +173,8 @@
</td>
</tr>
<tr >
<td style="background-color:#3498DB !important;color:#FFF !important;"><strong>Total</strong></td>
<td class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">
<td><strong>Total</strong></td>
<td class="text-right">
<span t-field="doc.amount_total" t-field-options='{"widget": "monetary", "display_currency": "doc.pricelist_id.currency_id"}' />
</td>
</tr>