64 lines
2.5 KiB
XML
64 lines
2.5 KiB
XML
<?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="arch" type="xml">
|
|
<form string="Data Recording" version="7.0">
|
|
<group>
|
|
<field name="check_date"/>
|
|
<field name="filter_cond"/>
|
|
</group>
|
|
<separator string="Choose objects to record"/>
|
|
<field name="objects"/>
|
|
<group><field name="info_yaml"/></group>
|
|
<footer>
|
|
<button name="record_objects" string="Record" type="object" class="oe_highlight"/>
|
|
or
|
|
<button string="Cancel" class="oe_link" special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<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>
|
|
|
|
|
|
<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"/>
|
|
|
|
<record id="module_create_xml_view" model="ir.ui.view">
|
|
<field name="name">module.create.xml.form</field>
|
|
<field name="model">base.module.record.data</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Data Recording">
|
|
<separator string="Result, paste this to your module's xml" colspan="4" />
|
|
<field name="res_text" nolabel="1" colspan="4"/>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|