Skip to content
Snippets Groups Projects
Commit 7eb198ea authored by nicolas.russo's avatar nicolas.russo
Browse files

[IMP][T8404] Invoices and OP header adjusts

parent 6b80f270
No related branches found
No related tags found
1 merge request!59[IMP][T8404] Invoices and OP header adjusts
......@@ -81,6 +81,7 @@
FACTURA
</span>
<br />
<t t-set="denomination" t-value="o.name" />
<span><span t-esc="denomination" /></span>
<br />
<span>
......
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="weblearns_layout_1_inherit" inherit_id="l10n_ar_eynes.weblearns_layout_1">
<xpath expr="//div[@class='header']" position="replace">
<div class="header">
<div style="width: 100%; height: 220px; border: 2px solid black; margin: 40px auto;">
<div
style="float:left; margin-right: 30px; margin-left: 10px; margin-top: 10px; width: 15%;text-align:left;font-size: small;"
>
<t t-if="o.company_id.logo">
<img
style="width: 45mm; height: 45mm"
alt="logo"
t-att-src="image_data_uri(o.company_id.logo)"
/>
</t>
</div>
<div
style="float:left; margin-right: 10px; margin-left: 30px; margin-top: 10px; width: 15%;text-align:left;font-size: small;"
>
<p> <t t-esc="o.company_id.name" /> </p>
CUIT: <t t-esc="o.company_id.vat" />
<br />
<t t-set="street" t-esc="o.company_id.street" />
<br />
Web: <t t-esc="o.company_id.website" />
<br />
Tel.: <t t-esc="o.company_id.phone" />
</div>
<div style="float:right; margin-right: 10px; width: 40%;text-align:right;font-size: medium;">
<t t-if="o.type == 'receipt' or o.type == 'sale'">
<h2>Recibo</h2>
</t>
<t t-else="">
<h2>Orden de Pago</h2>
</t>
<t t-esc="o.number" />
<br />
Fecha comprobante: <t t-esc="o.date.strftime('%d-%m-%Y')" />
<br />
<t t-if="o.type == 'receipt' or o.type == 'sale'">
Cliente: <t t-esc="o.partner_id.name" />
</t>
<t t-else="">
Proveedor: <t t-esc="o.partner_id.name" />
</t>
<br />
CUIT: <t t-esc="o.partner_id.vat" />
</div>
</div>
</div>
</xpath>
</template>
<template id="payment_order_inherit" inherit_id="l10n_ar_eynes.payment_order">
<xpath expr="//div[@id='retentions']" position="replace">
<div id="retentions">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment