| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
|
| 4 |
<record id="res_config_settings_view_form" model="ir.ui.view"> |
| 5 |
<field name="name">res.config.settings.view.form.inherit.proxy.user</field> |
| 6 |
<field name="model">res.config.settings</field> |
| 7 |
<field name="inherit_id" ref="account.res_config_settings_view_form"/> |
| 8 |
<field name="arch" type="xml"> |
| 9 |
<xpath expr="//block[@id='account_vendor_bills']" position="after"> |
| 10 |
<block title="Italian Electronic Invoicing" invisible="country_code != 'IT' or use_root_proxy_user" id='l10n_it_edi'> |
| 11 |
<setting id="l10n_it_edi_setting" string="Fattura Electronica (FatturaPA)"> |
| 12 |
<field name="l10n_it_edi_show_purchase_journal_id" invisible="1"/> |
| 13 |
<div class="mt8 content-group"> |
| 14 |
<div class="content-group d-flex align-items-center gap-2"> |
| 15 |
<field name="l10n_it_edi_register" class="oe_inline"/> |
| 16 |
<span class="text-muted"> |
| 17 |
By checking this box, I authorize Odoo to send and receive my invoices through the Sistema di Interscambio (SDI). |
| 18 |
</span> |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
<div class="mt8 content-group" invisible="not l10n_it_edi_show_purchase_journal_id"> |
| 22 |
<div class="row mt16"> |
| 23 |
<label for="l10n_it_edi_purchase_journal_id" string="Default Purchase Journal" class="col-6 o_light_label"/> |
| 24 |
<field name="l10n_it_edi_purchase_journal_id"/> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
</setting> |
| 28 |
</block> |
| 29 |
<block title="Italian Electronic Invoicing" invisible="(country_code != 'IT') or not use_root_proxy_user" id='account_edi_branch'> |
| 30 |
<span class="o_form_label"> |
| 31 |
This branch shares the same VAT number and Codice Fiscale as its parent company. Select the parent company to configure the EDI settings. |
| 32 |
</span> |
| 33 |
</block> |
| 34 |
</xpath> |
| 35 |
</field> |
| 36 |
</record> |
| 37 |
|
| 38 |
</odoo> |