| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<record id="res_config_settings_view_form_inherit_l10n_in_edi_ewaybill" model="ir.ui.view"> |
| 4 |
<field name="name">res.config.settings.form.inherit.l10n_in_edi_ewaybill</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="//field[@name='module_l10n_in_ewaybill']" position="replace"> |
| 9 |
<field name="l10n_in_ewaybill_feature"/> |
| 10 |
</xpath> |
| 11 |
<xpath expr="//setting[@name='electronic_waybill_in']/div[hasclass('content-group')]" position="replace"> |
| 12 |
<div class="content-group" invisible="not l10n_in_ewaybill_feature"> |
| 13 |
<div class="mt16 row"> |
| 14 |
<label for="l10n_in_ewaybill_username" |
| 15 |
string="Username" |
| 16 |
class="col-3 col-lg-3 o_light_label"/> |
| 17 |
<field name="l10n_in_ewaybill_username" nolabel="1"/> |
| 18 |
</div> |
| 19 |
<div class="row"> |
| 20 |
<label for="l10n_in_ewaybill_password" |
| 21 |
string="Password" |
| 22 |
class="col-3 col-lg-3 o_light_label"/> |
| 23 |
<field name="l10n_in_ewaybill_password" password="True" nolabel="1"/> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
<div class='mt8' invisible="not l10n_in_ewaybill_feature"> |
| 27 |
<button name="l10n_in_ewaybill_test" |
| 28 |
icon="oi-arrow-right" |
| 29 |
type="object" |
| 30 |
string="Verify Username and Password" |
| 31 |
class="btn-link"/> |
| 32 |
</div> |
| 33 |
</xpath> |
| 34 |
</field> |
| 35 |
</record> |
| 36 |
</odoo> |