<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="name">l10n.ke.tremol.inherit.res.config.settings.form</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="account.res_config_settings_view_form"/>
        <field name="arch" type="xml">
            <xpath expr="//block[@id='account_vendor_bills']" position="after">
                <div invisible="country_code != 'KE'">
                    <block title="Kenya TIMS Integration" id="l10n_ke_cu_details">
                        <setting
                            string="Tremol Device Settings"
                            help="The tremol device makes use of a proxy server, which can be running locally on your computer or on an IoT Box. The proxy server must be on the same network as the fiscal device."
                            company_dependent="1">
                                <div class="content-group">
                                    <div class="row mt8">
                                        <label for="l10n_ke_cu_proxy_address" class="col-lg-5 o_light_label"/>
                                        <field name="l10n_ke_cu_proxy_address"/>
                                    </div>
                                </div>
                        </setting>
                    </block>
                </div>
            </xpath>
        </field>
    </record>
</odoo>
