| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<data> |
| 4 |
<template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document"> |
| 5 |
<xpath expr="//div[@name='reference']" position="after"> |
| 6 |
<div class="col" t-if="o.company_id.country_code == 'HR'" name="l10n_hr_invoicing_extra_data"> |
| 7 |
<strong>Invoicing Time</strong> <br/> |
| 8 |
<span t-field="o.l10n_hr_invoice_sending_time"/> <br/> |
| 9 |
<strong>Place of Issue</strong> <br/> |
| 10 |
<span t-field="o.company_id.city"/> |
| 11 |
</div> |
| 12 |
<div class="col" t-if="o.company_id.country_code == 'HR'" name="l10n_hr_operator"> |
| 13 |
<strong>Issuing Operator Label</strong> <br/> |
| 14 |
<span t-field="o.l10n_hr_operator_name"/> <br/> |
| 15 |
<strong>Issuing Operator OIB</strong> <br/> |
| 16 |
<span t-field="o.l10n_hr_operator_oib"/> |
| 17 |
</div> |
| 18 |
</xpath> |
| 19 |
<xpath expr="//th[@name='th_description']" position="after"> |
| 20 |
<th name="th_description" class="text-end"><span>KPD Category</span></th> |
| 21 |
</xpath> |
| 22 |
<xpath expr="//td[@name='account_invoice_line_name']" position="after"> |
| 23 |
<td t-if="o.company_id.country_code == 'HR'" class="text-end" name="l10n_hr_kpd_category"> |
| 24 |
<span t-field="line.l10n_hr_kpd_category_id.name" t-options="{'widget': 'text'}"/> |
| 25 |
</td> |
| 26 |
</xpath> |
| 27 |
<xpath expr="//div[@id='payment_term']" position="inside"> |
| 28 |
<div class="mb-3" t-if="o.company_id.country_code == 'HR'"> |
| 29 |
<span>Croatian Payment Method Type: </span> |
| 30 |
<span class="fw-bold" t-field="o.l10n_hr_payment_method_type"/> |
| 31 |
</div> |
| 32 |
</xpath> |
| 33 |
</template> |
| 34 |
<template id="document_tax_totals_company_currency_template_inherit" inherit_id="account.document_tax_totals_company_currency_template"> |
| 35 |
<xpath expr="//div[1]" position="inside"> |
| 36 |
<p t-if="o.company_id.country_code == 'HR'"> |
| 37 |
<span>1 </span> |
| 38 |
<span t-field="o.company_currency_id"/> |
| 39 |
<span> = </span> |
| 40 |
<span t-field="o.invoice_currency_rate" /> |
| 41 |
<span t-field="o.currency_id"/> |
| 42 |
</p> |
| 43 |
</xpath> |
| 44 |
</template> |
| 45 |
</data> |
| 46 |
</odoo> |