Untitled
raw download clone
TEXT
views 31
,
size 1363 b
<odoo>
 	<data>
		<record id="webkul_learning_form" model="ir.ui.view">
			<field name="name">webkul.learning.form</field>
			<field name="model">webkul.learning</field>
			<field name="type">form</field>
			<field name="arch" type="xml">
					<form string="Webkul Form">
						<group>
							<field name="name"/>
                            <field name="age"/>							
						</group>
					</form>
			</field>
		</record>


<record id="webkul_learning_tree" model="ir.ui.view">
			<field name="name">webkul.learning.tree</field>
			<field name="model">webkul.learning</field>
			<field name="type">tree</field>
			<field name="arch" type="xml">
					<tree>
							<field name="name"/>
                            <field name="age"/>							
						</tree>
			</field>
		</record>

<record id="webkul_learning_action" model="ir.action.act_window">
			<field name="name">Employee</field>
			<field name="res_model">webkul.learning</field>
			<field name="view_model">tree,form</field>
			<field name="view_type">form</field>
			<field name="view_id" ref="webkul_learning_tree"/>
</record>	
<menuitem name="webkul" id="webkul_learning_menu_root"/>
<menuitem name="Employee"
		id="webkul_learning_menu_student"
		parent="webkul_test.webkul_learning_menu_root"
		action="webkul_test.webkul_learning_action"
	/>
</data>
</odoo>
close fullscreen
Login or Register to edit or fork this paste. It's free.