<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="name">res.config.settings.view.form</field>
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="point_of_sale.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath expr="//block[@id='pos_accounting_section']" position="inside">
                <field name="pos_is_spanish" invisible="1" />
                <setting string="Simplified Invoice Limit" title="" invisible="not pos_is_spanish">
                    <div class="text-muted">
                        Above this limit the simplified invoice won't be made
                    </div>
                    <field name="pos_l10n_es_simplified_invoice_limit" />
                </setting>
            </xpath>
            <xpath expr="//setting[@id='pos_default_journals']" position="inside">
                <div class="row" invisible="not pos_is_spanish">
                    <label string="Simplified Invoice" for="pos_l10n_es_simplified_invoice_journal_id" class="col-lg-3 o_light_label"/>
                    <field name="pos_l10n_es_simplified_invoice_journal_id"/>
                </div>
            </xpath>
        </field>
    </record>
</odoo>
