<?xml version="1.0" encoding="utf-8"?>
<!--
  Account analytic required module for OpenERP
  Copyright (C) 2011 Akretion (http://www.akretion.com). All Rights Reserved
  @author Alexis de Lattre <alexis.delattre@akretion.com>
  The licence is in the file __openerp__.py
-->

<openerp>
<data>

<record id="account_analytic_required_account_type_form" model="ir.ui.view">
    <field name="name">account_analytic_required.account_type_form</field>
    <field name="model">account.account.type</field>
    <field name="inherit_id" ref="account.view_account_type_form" />
    <field name="arch"  type="xml">
        <field name="code" position="after">
                <field name="analytic_policy" />
        </field>
    </field>
</record>

</data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<!--
  Account analytic required module for OpenERP
  Copyright (C) 2011 Akretion (http://www.akretion.com). All Rights Reserved
  @author Alexis de Lattre <alexis.delattre@akretion.com>
  The licence is in the file __openerp__.py
-->

<openerp>
<data>

<record id="account_analytic_required_account_type_form" model="ir.ui.view">
    <field name="name">account_analytic_required.account_type_form</field>
    <field name="model">account.account.type</field>
    <field name="inherit_id" ref="account.view_account_type_form" />
    <field name="arch"  type="xml">
        <field name="code" position="after">
            <field name="analytic_policy" />
        </field>
    </field>
</record>

<record id="view_account_type_tree" model="ir.ui.view">
    <field name="name">account_analytic_required.account_type_tree</field>
    <field name="model">account.account.type</field>
    <field name="inherit_id" ref="account.view_account_type_tree" />
    <field name="arch"  type="xml">
        <field name="code" position="after">
            <field name="analytic_policy" />
        </field>
    </field>
</record>

</data>
</openerp>

Add policy for analytic accounting in tree view.
Add policy for analytic accounting in tree view.

