| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<template id="report_invoice_document" inherit_id="account.report_invoice_document"> |
| 4 |
<div name="comment" position="before"> |
| 5 |
<t t-if="o.l10n_it_stamp_duty"><b>Stamp Duty: </b><span t-field="o.l10n_it_stamp_duty"></span><br/></t> |
| 6 |
<t t-if="o.l10n_it_ddt_id"><b>Transport Document: </b><span t-field="o.l10n_it_ddt_id"></span><br/></t> |
| 7 |
<div t-if="o.l10n_it_origin_document_type" name="pa_fields"> |
| 8 |
<b><span t-field="o.l10n_it_origin_document_type"/></b>: <span t-field="o.l10n_it_origin_document_name"/><br/> |
| 9 |
<t t-if="o.l10n_it_origin_document_date"><b>Document Date: </b><span t-field="o.l10n_it_origin_document_date"/><br/></t> |
| 10 |
<t t-if="o.l10n_it_cig"><b>CIG: </b><span t-field="o.l10n_it_cig"/><br/></t> |
| 11 |
<t t-if="o.l10n_it_cup"><b>CUP: </b><span t-field="o.l10n_it_cup"/><br/></t> |
| 12 |
</div> |
| 13 |
</div> |
| 14 |
|
| 15 |
<p name="payment_communication" position="inside"> |
| 16 |
<t t-if="o.country_code == 'IT'"> |
| 17 |
<t t-set="term_lines" t-value="o.line_ids.filtered(lambda line: line.display_type == 'payment_term')"/> |
| 18 |
<br/><b>Payment Conditions:</b> <t t-if="len(term_lines) == 1">TP02 pagamento completo</t><t t-else="">TP01 pagamento a rate</t><br/> |
| 19 |
</t> |
| 20 |
</p> |
| 21 |
</template> |
| 22 |
</odoo> |