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

<!-- Open Column From View -->

    	<record id="view_olap_load_column" model="ir.ui.view">
            <field name="name">Open Columns</field>
            <field name="model">olap.load.column</field>
            <field name="type">form</field>
            <field name="arch" type="xml">
              <form string="">
              	<separator string="                        " colspan="4"/>
            	<button name="get_table_data" string="Open" type="object"/>
			</form>
            </field>
		</record>

<!-- Open Column Action -->

		<record id="action_olap_load_column" model="ir.actions.act_window">
            <field name="name">Open Columns</field>
            <field name="type">ir.actions.act_window</field>
            <field name="res_model">olap.load.column</field>
            <field name="view_type">form</field>
            <field name="view_mode">form</field>
            <field name="context">{'record_id' : active_id}</field>
            <field name="target">new</field>
    	</record>

<!-- Open Column Action Window -->

        <act_window id="action_olap_load_column_values"
    		key2="client_action_multi" name="Open Columns"
    		res_model="olap.load.column" src_model="olap.database.columns"
    		view_mode="form" target="new" view_type="form" />

    </data>
</openerp>