| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_form_inherit_l10n_hu_edi" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.form.inherit.l10n.hu.edi</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[@id='invoicing_settings']" position="after"> |
| 9 |
<block title="Hungarian Electronic Invoicing" |
| 10 |
invisible="country_code != 'HU'" |
| 11 |
groups="account.group_account_manager" |
| 12 |
name="l10n_hu_edi_settings"> |
| 13 |
<setting company_dependent="1" string="NAV Credentials" |
| 14 |
help="Enter your e-invoicing credentials given by the Hungarian Authority." |
| 15 |
name="l10n_hu_edi_nav_credentials"> |
| 16 |
<div class="row"> |
| 17 |
<field name="l10n_hu_edi_is_active" invisible="1"/> |
| 18 |
<div class="alert alert-success text-center ms-3" role="alert" |
| 19 |
invisible="not l10n_hu_edi_is_active"> |
| 20 |
Authentication with NAV 3.0 successful. |
| 21 |
</div> |
| 22 |
</div> |
| 23 |
<div class="row"> |
| 24 |
<label string="Mode" for="l10n_hu_edi_server_mode" class="col-lg-3 o_light_label"/> |
| 25 |
<field name="l10n_hu_edi_server_mode"/> |
| 26 |
</div> |
| 27 |
<div class="row"> |
| 28 |
<label string="Username" for="l10n_hu_edi_username" class="col-lg-3 o_light_label"/> |
| 29 |
<field name="l10n_hu_edi_username"/> |
| 30 |
</div> |
| 31 |
<div class="row"> |
| 32 |
<label string="Password" for="l10n_hu_edi_password" class="col-lg-3 o_light_label"/> |
| 33 |
<field name="l10n_hu_edi_password"/> |
| 34 |
</div> |
| 35 |
<div class="row"> |
| 36 |
<label string="Signature Key" for="l10n_hu_edi_signature_key" class="col-lg-3 o_light_label"/> |
| 37 |
<field name="l10n_hu_edi_signature_key"/> |
| 38 |
</div> |
| 39 |
<div class="row"> |
| 40 |
<label string="Replacement Key" for="l10n_hu_edi_replacement_key" class="col-lg-3 o_light_label"/> |
| 41 |
<field name="l10n_hu_edi_replacement_key"/> |
| 42 |
</div> |
| 43 |
</setting> |
| 44 |
<setting company_dependent="1" |
| 45 |
help="Your company's specific tax arrangements, if any of these apply to your company." |
| 46 |
name="l10n_hu_edi_specials"> |
| 47 |
<field name="l10n_hu_tax_regime"/> |
| 48 |
</setting> |
| 49 |
</block> |
| 50 |
</xpath> |
| 51 |
</field> |
| 52 |
</record> |
| 53 |
</odoo> |