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

<!-- Create Logs Form View -->

    	<record id="view_olap_query_logs_clear" model="ir.ui.view">
            <field name="name">Clear Logs</field>
            <field name="model">olap.query.logs.clear</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string=" To Load Data">
    			<field name='user_name'/>
    			<separator string="" colspan="4" />
    	        <label string="" colspan="2" />
    	        <group colspan="4">
        	    <button special="cancel" string="Cancel" />
            	<button name="clear_logs" string="Clear Logs" type="object"/>
            	</group>
			</form>
            </field>
		</record>

<!-- Create Logs Action -->

		<record id="action_view_olap_query_logs_clear" model="ir.actions.act_window">
            <field name="name">Clear Logs </field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">olap.query.logs.clear</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="target">new</field>
    	</record>

<!-- Clear Logs Form View -->

		<record id="view_olap_query_logs_clear_msg" model="ir.ui.view">
            <field name="name">Clear Logs Message</field>
            <field name="model">olap.query.logs.clear.msg</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="Load Data">
    			<label string="Logs Cleared successfully"/>
    	        <group colspan="4">
            	 <button special="cancel" string="Ok" />
            	</group>
			</form>
            </field>
		</record>

    </data>
</openerp>