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

        <record id="account_budget_spread_view" model="ir.ui.view">
             <field name="name">account.budget.spread.form</field>
             <field name="model">account.budget.spread</field>
             <field name="type">form</field>
             <field name="arch" type="xml">
	             <form string="Select Fiscalyear">
					<group width="480">
						<separator string="" colspan="4"/>
					    <field name="fiscalyear"/>
					    <field name="amount"/>
					    <separator colspan="4"/>
					    <group colspan="4" col="6">
	     					<button special="cancel" string="Cancel" icon="gtk-cancel"/>
	               			<button name="check_spread" string="Ok" type="object" icon="gtk-ok"/>
	 					</group>
 					</group>
				</form>
			</field>
		</record>

		<record id="action_account_budget_spread" model="ir.actions.act_window">
			<field name="name">Spread</field>
			<field name="type">ir.actions.act_window</field>
			<field name="res_model">account.budget.spread</field>
			<field name="view_type">form</field>
			<field name="view_mode">form</field>
			<field name="view_id" ref="account_budget_spread_view"/>
			<field name="target">new</field>
		</record>

	 </data>
</openerp>