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

<!-- Create Menu From view -->

		<record id="view_wiki_create_menu" model="ir.ui.view">
            <field name="name">Create Menu</field>
            <field name="model">wiki.create.menu</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="Create Menu">
             		<separator string="Menu Information" colspan="4" />
                	<field name="menu_name" />
                	<field name="menu_parent_id" />
	                <separator string="" colspan="4" />
    	            <label string="" colspan="2" />
        	        <button special="cancel" string="Cancel" />
            	    <button name="wiki_menu_create" string="Create Menu" type="object"/>
             </form>
            </field>
		</record>

<!-- Create Menu Action -->

		<record id="action_wiki_create_menu" model="ir.actions.act_window">
            <field name="name">Create Menu</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">wiki.create.menu</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
        </record>

    </data>
</openerp>