2011-09-07 11:39:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="base_module_record_data_view" model="ir.ui.view">
|
|
|
|
<field name="name">base_module_record_data</field>
|
|
|
|
<field name="model">base.module.data</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-18 12:45:11 +00:00
|
|
|
<form string="Data Recording" version="7.0">
|
|
|
|
<header>
|
|
|
|
<button name="record_objects" icon="gtk-ok" string="Record" type="object" class="oe_form_button_active_flow"/>
|
|
|
|
</header>
|
2011-09-07 11:39:46 +00:00
|
|
|
<field name="check_date"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="filter_cond"/>
|
|
|
|
<separator string="Choose objects to record" colspan="4"/>
|
|
|
|
<field name="objects" colspan="4" nolabel="1"/>
|
|
|
|
<group><field name="info_yaml"/></group>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2011-09-07 12:39:42 +00:00
|
|
|
<record model="ir.actions.act_window" id="action_base_module_record_data">
|
|
|
|
<field name="name">Export Customizations as Data</field>
|
|
|
|
<field name="res_model">base.module.data</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="target">new</field>
|
|
|
|
<field name="view_id" ref="base_module_record_data_view"/>
|
|
|
|
</record>
|
2011-09-07 11:39:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
<menuitem
|
|
|
|
parent="menu_wizard_base_mod_rec"
|
|
|
|
name="Export Customizations As Data file"
|
|
|
|
action="action_base_module_record_data"
|
|
|
|
id="menu_wizard_base_module_record_data"/>
|
|
|
|
|
|
|
|
<act_window
|
|
|
|
id="act_base_module_record_data"
|
|
|
|
name="Export Customizations As Data File"
|
|
|
|
res_model="base.module.data"
|
|
|
|
src_model="ir.module.module"
|
|
|
|
view_mode="form"
|
|
|
|
target="new"
|
|
|
|
multi="True"
|
|
|
|
key2="client_action_multi"/>
|
|
|
|
|
2011-09-07 12:39:42 +00:00
|
|
|
<record id="module_create_xml_view" model="ir.ui.view">
|
2011-09-07 11:39:46 +00:00
|
|
|
<field name="name">module.create.xml.form</field>
|
|
|
|
<field name="model">base.module.record.data</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2011-09-08 06:45:23 +00:00
|
|
|
<form string="Data Recording">
|
2011-09-07 12:39:42 +00:00
|
|
|
<separator string="Result, paste this to your module's xml" colspan="4" />
|
|
|
|
<field name="res_text" nolabel="1" colspan="4"/>
|
|
|
|
</form>
|
2011-09-07 11:39:46 +00:00
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|