<?xml version="1.0"?>
<openerp>
<data>

    <record model="ir.ui.view" id="view_account_report_bs_form">
        <field name="name">account.report.bs.form</field>
        <field name="model">account.report.bs</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <form string="Account reporting">
                <notebook>
                <page string="General">
                    <field name="name" select="1" colspan="3"/>
                    <field name="code" select="1"/>
                    <field name="parent_id" select="1" />
                    <field name="sequence"/>
                    <field name="color_font"/>
                    <field name="color_back"/>
                    <field name="font_style" />
                    <field name="report_type" />
                    <newline/>
                    <separator string="Accounts" colspan="4"/>
                        <field name="account_id" colspan="4" nolabel="1"/>
                </page><page string="Notes">
                    <field name="note" nolabel="1" colspan="4"/>
                </page>
                </notebook>
            </form>
        </field>
    </record>

        <record model="ir.ui.view" id="view_account_report_tree_bs">
            <field name="name">account.report.report.tree.bs</field>
            <field name="model">account.report.bs</field>
            <field name="type">tree</field>
            <field name="field_parent">child_id</field>
            <field name="arch" type="xml">
                <tree string="Account reporting">
                <field name="code"/>
                <field name="name"/>
            </tree>
            </field>
        </record>
        <record model="ir.actions.act_window" id="action_account_tree_bs">
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">account.report.bs</field>
            <field name="domain">[('parent_id','=',False)]</field>
            <field name="view_type">tree</field>
            <field name="view_id" ref="view_account_report_tree_bs"/>
        </record>
        <menuitem name="Balance Sheet Report" id="menu_finan_config_BSheet" parent="account.menu_finance_configuration"/>
        <menuitem name="Balance Sheet Report" id="action_account_report_bs_form" action="action_account_tree_bs" parent="menu_finan_config_BSheet"/>

        <record model="ir.actions.act_window" id="acc_bs_report_action_form">
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">account.report.bs</field>
            <field name="view_type">form</field>
            <field name="view_id" ref="view_account_report_bs_form"/>
        </record>
        <menuitem name="Balance Sheet Report Form" id="bs_report_action_form" action="acc_bs_report_action_form" parent="menu_finan_config_BSheet"/>



</data>
</openerp>
