<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="view_move_form" model="ir.ui.view">
            <field name="name">account.move.form</field>
            <field name="model">account.move</field>
            <field name="inherit_id" ref="account.view_move_form"/>
            <field name="arch" type="xml">
                <xpath expr="//page[@name='other_info']" position="inside">
                        <group string="Factura-e"
                               name="l10n_es_facturae_invoicing_period"
                               invisible="country_code != 'ES'">
                            <field name="l10n_es_invoicing_period_start_date"/>
                            <field name="l10n_es_invoicing_period_end_date"/>
                            <field name="l10n_es_payment_means"/>
                        </group>
                </xpath>
            </field>
        </record>
    </data>
</odoo>
