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

  		<record id="view_project_account_analytic_line_form" model="ir.ui.view">
            <field name="name">project.account.analytic.line.form</field>
            <field name="model">project.account.analytic.line</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
                <form string="View Account Analytic Lines">
                	<group colspan="4" >
                    	<field name="from_date"/>
                    	<newline/>
                    	<field name="to_date" />
                    </group>
                         <label string ="(Keep empty to open the current situation)" />
                       	 <separator string="" colspan="4" />
                    <group colspan="4" col="6">
                    	 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
                    	 <button icon="terp-gtk-go-back-rtl" string="Open Entries" name="action_open_window" type="object"/>
                   	</group>
                </form>
            </field>
        </record>

        <record id="action_project_account_analytic_line_form" model="ir.actions.act_window">
            <field name="name">Entries By Line</field>
            <field name="res_model">project.account.analytic.line</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
            <field name="view_id" ref="view_project_account_analytic_line_form"/>
            <field name="target">new</field>
        </record>

    </data>
</openerp>