mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 18:29:08 +02:00
sale order report
This commit is contained in:
@@ -8,33 +8,15 @@
|
|||||||
<t t-if="not o or not 'company_id' in o">
|
<t t-if="not o or not 'company_id' in o">
|
||||||
<t t-set="company" t-value="res_company"></t>
|
<t t-set="company" t-value="res_company"></t>
|
||||||
</t>
|
</t>
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="row mt32 mb32">
|
<div class="row mt32 mb32">
|
||||||
<div class="col-12">
|
<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>
|
<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">
|
</div>
|
||||||
<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>
|
|
||||||
|
|
||||||
<t t-call="web.external_layout">
|
<t t-call="web.external_layout">
|
||||||
<t t-set="o" t-value="doc.with_context({'lang':doc.partner_id.lang})" />
|
<t t-set="o" t-value="doc.with_context({'lang':doc.partner_id.lang})" />
|
||||||
@@ -191,8 +173,8 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr >
|
<tr >
|
||||||
<td style="background-color:#3498DB !important;color:#FFF !important;"><strong>Total</strong></td>
|
<td><strong>Total</strong></td>
|
||||||
<td class="text-right" style="background-color:#3498DB !important;color:#FFF !important;">
|
<td class="text-right">
|
||||||
<span t-field="doc.amount_total" t-field-options='{"widget": "monetary", "display_currency": "doc.pricelist_id.currency_id"}' />
|
<span t-field="doc.amount_total" t-field-options='{"widget": "monetary", "display_currency": "doc.pricelist_id.currency_id"}' />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user