<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
		<record id="view_analytic_plan_create_model_msg" model="ir.ui.view">
            <field name="name">analytic.plan.create.model.msg.form</field>
            <field name="model">analytic.plan.create.model</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
			<form string="Distribution Model Saved">
			    <group col="4" colspan="6">
			    	<label string="Save This Distribution as a Model"/>
				    <newline/>
				</group>
				<separator colspan="4"/>
			    <group col="2" colspan="4">
			    	<button special="cancel" string="Cancel" icon='gtk-ok' />
            		<button string="Ok" icon='gtk-execute' type="object" name="activate" default_focus="1"/>
				</group>
			</form>
            </field>
        </record>

		<record id="view_analytic_plan_create_model" model="ir.ui.view">
            <field name="name">analytic.plan.create.model.form</field>
            <field name="model">analytic.plan.create.model</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
			<form string="Distribution Model Saved">
			    <group col="4" colspan="6">
			    	<label string="This distribution model has been saved.You will be able to reuse it later."/>
				    <newline/>
				</group>
				<separator colspan="4"/>
			    <group col="2" colspan="4">
            		<button special="cancel" string="Ok" icon='gtk-ok'/>
				</group>
			</form>
            </field>
        </record>


        <record id="action_analytic_plan_create_model" model="ir.actions.act_window">
            <field name="name">analytic.plan.create.model.action</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">analytic.plan.create.model</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
            <field name="view_id" ref="view_analytic_plan_create_model_msg"/>
        </record>

	</data>
</openerp>