| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<template |
| 5 |
id="address_form_fields" |
| 6 |
inherit_id="portal.address_form_fields" |
| 7 |
name="Show l10n_it fields" |
| 8 |
customize_show="True" |
| 9 |
> |
| 10 |
<div id="div_vat" position="after"> |
| 11 |
<t t-if="res_company.account_fiscal_country_id.code == 'IT'"> |
| 12 |
<div class="w-100"/> |
| 13 |
<div class="col-lg-6 mb-3" id="div_l10n_it_codice_fiscale"> |
| 14 |
<label class="col-form-label fw-normal label-optional" for="l10n_it_codice_fiscale">Codice Fiscale</label> |
| 15 |
<input type="text" |
| 16 |
name="l10n_it_codice_fiscale" |
| 17 |
class="form-control text-uppercase" |
| 18 |
t-att-value="partner_sudo.l10n_it_codice_fiscale"/> |
| 19 |
</div> |
| 20 |
<div class="col-lg-6 mb-3" id="div_l10n_it_pa_index"> |
| 21 |
<label class="col-form-label fw-normal label-optional" for="l10n_it_pa_index">Destination Code (SDI)</label> |
| 22 |
<input type="text" |
| 23 |
name="l10n_it_pa_index" |
| 24 |
class="form-control text-uppercase" |
| 25 |
t-att-value="partner_sudo.l10n_it_pa_index"/> |
| 26 |
</div> |
| 27 |
</t> |
| 28 |
</div> |
| 29 |
</template> |
| 30 |
|
| 31 |
</odoo> |