| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <record id="res_config_settings_view_form" model="ir.ui.view"> |
| 4 | <field name="name">res.config.settings.view.form.inherit.l10n.es</field> |
| 5 | <field name="model">res.config.settings</field> |
| 6 | <field name="inherit_id" ref="account.res_config_settings_view_form"/> |
| 7 | <field name="arch" type="xml"> |
| 8 | <xpath expr="//block[@name='default_taxes_setting_container']" position="before"> |
| 9 | <block title="Veri*Factu" name="l10n_es_edi_verifactu" invisible="country_code != 'ES'"> |
| 10 | <setting id="l10n_es_edi_verifactu_required" |
| 11 | help="Automatically generate and send Veri*Factu records to the AEAT." |
| 12 | company_dependent="1" |
| 13 | documentation="/applications/finance/fiscal_localizations/spain.html#veri-factu"> |
| 14 | <field name="l10n_es_edi_verifactu_required"/> |
| 15 | <div class="content-group"> |
| 16 | <div class="mt16"> |
| 17 | <div class="o_row"> |
| 18 | <button name="%(l10n_es_edi_verifactu_certificate_action)d" type="action" |
| 19 | icon="oi-arrow-right" class="oe_link"> |
| 20 | Manage certificates |
| 21 | </button> |
| 22 | </div> |
| 23 | <div class="o_row mt16"> |
| 24 | <label for="l10n_es_edi_verifactu_test_environment" class="o_light_label" |
| 25 | string="Test Environment"/> |
| 26 | <field name="l10n_es_edi_verifactu_test_environment"/> |
| 27 | </div> |
| 28 | <div class="text-muted" invisible="not l10n_es_edi_verifactu_test_environment"> |
| 29 | The data is sent to test servers and is not considered official. |
| 30 | </div> |
| 31 | <div class="text-muted" invisible="l10n_es_edi_verifactu_test_environment"> |
| 32 | The data is sent to the tax agency. |
| 33 | </div> |
| 34 | <br/> |
| 35 | <div class="o_row mt8"> |
| 36 | <label for="l10n_es_edi_verifactu_special_vat_regime" class="col-lg-6 o_light_label" |
| 37 | string="Special VAT Regime"/> |
| 38 | <field name="l10n_es_edi_verifactu_special_vat_regime"/> |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |
| 42 | </setting> |
| 43 | </block> |
| 44 | </xpath> |
| 45 | |
| 46 | </field> |
| 47 | </record> |
| 48 | </odoo> |