<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!-- ##########################
        ### ACCOUNT FISCAL POSITION ###
        ########################### -->
        <!-- #### Inheritance to add field 'include_in_mod349' #### -->
        <!-- ## Tree view ## -->
        <record id="view_account_fiscal_position_add_mod349_tree" model="ir.ui.view">
            <field name="name">Fiscal position | add 'include in AEAT 349' field (tree)</field>
            <field name="model">account.fiscal.position</field>
            <field name="inherit_id" ref="account.view_account_position_tree"/>
            <field name="arch" type="xml">
                <field name="company_id" position="after">
                    <field name="intracommunity_operations"/>
                </field>
            </field>
        </record>

        <!-- ## Form view ## -->
        <record id="view_account_fiscal_position_add_mod349_form" model="ir.ui.view">
            <field name="name">Fiscal position | add 'include in AEAT 349' field (form)</field>
            <field name="model">account.fiscal.position</field>
            <field name="inherit_id" ref="account.view_account_position_form"/>
            <field name="arch" type="xml">
                <field name="company_id" position="after">
                    <field name="intracommunity_operations"/>
                </field>
            </field>
        </record>
        
    </data>
</openerp>
