Skip to content
Snippets Groups Projects
Commit bf8c4379 authored by Nicolas Russo's avatar Nicolas Russo
Browse files

Merge branch 'T8310' into 'master'

[FIX][T8390] Invoices custom mods

See merge request !51
parents d0b32ff3 b01e5523
No related branches found
No related tags found
1 merge request!51[FIX][T8390] Invoices custom mods
......@@ -55,6 +55,7 @@
'views/stock_picking_type_view.xml',
'wizard/repair_wizard_views.xml',
'wizard/product_label_layout_views.xml',
'report/custom_reports.xml',
'report/repair_reports.xml',
'report/repair_templates_repair_order.xml',
'report/mail_template_data.xml',
......
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="custom_account_move_report_qweb" inherit_id="l10n_ar_eynes.weblearns_layout">
<xpath expr="//div[@class='denomination-render']" position="before">
<h1 style="text-align: center; font-weight: bold; font-size: 25px;">ORIGINAL</h1>
</xpath>
<xpath expr="//table[@class='company-table']//td[@class='right']/p" position="replace">
<p>
Tel.: <span t-esc="o.journal_id.warehouse_id.partner_id.mobile" />
<br />
<span>Email: <span t-esc="o.journal_id.warehouse_id.partner_id.email" />
</span>
</p>
</xpath>
<xpath expr="//table[@class='company-table']//td[@class='left']" position="replace">
<td class="left">
<span t-if="denomination_name == 'E'" style="font-size: 20px;">
FACTURA DE EXPORTACION
</span>
<span t-elif="o.voucher_type_id.afip_code in ['203', '208']" style="font-size: 16px;">
NOTA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span t-elif="o.move_type in ['out_refund', 'in_refund']" style="font-size: 20px;">
NOTA DE CREDITO
</span>
<span t-elif="o.voucher_type_id.afip_code in ['202', '207']" style="font-size: 16px;">
NOTA DE DÉBITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span t-elif="o.is_debit_note" style="font-size: 20px;">
NOTA DE DEBITO
</span>
<span t-elif="o.voucher_type_id.afip_code in ['201', '206']" style="font-size: 16px;">
FACTURA DE CRÉDITO ELECTRÓNICA MiPyMEs (FCE)
</span>
<span t-elif="o.denomination in ['a', 'b', 'c']" style="font-size: 20px;">
FACTURA
</span>
<br />
<span><span t-esc="denomination" /></span>
<br />
<span>
Fecha:
<t t-if="o.invoice_date">
<span t-esc="o.invoice_date.strftime('%d/%m/%Y')" />
</t>
</span>
<br />
<span>C.U.I.T: <span t-esc="o.company_id.vat" />
</span>
<br />
<span>Condición frente al IVA: <span t-esc="o.journal_id.warehouse_id.partner_id.property_account_position_id.name"/>
</span>
<br />
<t t-if="o.company_id.partner_id.nro_insc_iibb">
<span class="partner-info">Ing. Brutos: </span><span
t-esc="o.company_id.partner_id.nro_insc_iibb"
/>
<br />
</t>
<span>
Inic. Activ.:
<t t-if="o.journal_id.activity_start_date">
<span t-esc="o.journal_id.activity_start_date.strftime('%d/%m/%Y')" />
</t>
</span>
<t t-if="denomination_name == 'E'">
<br />
<span>IVA EXENTO OPERACIÓN DE EXPORTACION</span>
</t>
</td>
</xpath>
</template>
</data>
</odoo>
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