2011-09-07 11:39:46 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
<record id= "base_module_record_objects_view" model= "ir.ui.view" >
<field name= "name" > base_module_record_objects</field>
<field name= "model" > base.module.record</field>
<field name= "arch" type= "xml" >
2012-06-18 12:45:11 +00:00
<form string= "Objects Recording" version= "7.0" >
2012-06-28 15:20:32 +00:00
<group >
2012-06-19 07:57:06 +00:00
<field name= "check_date" />
<field name= "filter_cond" />
2012-06-28 15:20:32 +00:00
</group>
<separator string= "Choose objects to record" />
<field name= "objects" />
<group > <field name= "info_yaml" /> </group>
2012-07-10 16:40:11 +00:00
<footer >
<button name= "record_objects" string= "Record" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2011-09-07 12:39:42 +00:00
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
2011-09-07 12:39:42 +00:00
<record model= "ir.actions.act_window" id= "action_base_module_record_objects" >
<field name= "name" > Export Customizations as a Module</field>
<field name= "res_model" > base.module.record</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_objects_view" />
</record>
2011-09-07 11:39:46 +00:00
2011-09-07 12:39:42 +00:00
<menuitem
2011-09-07 11:39:46 +00:00
parent="base.menu_custom"
name="Module Creation"
2012-04-25 14:42:58 +00:00
id="menu_wizard_base_mod_rec"/>
2011-09-07 11:39:46 +00:00
<menuitem
parent="menu_wizard_base_mod_rec"
name="Export Customizations As a Module"
action="action_base_module_record_objects"
id="menu_wizard_base_module_record_objects"/>
<act_window
id="act_base_module_record_objects"
name="Export Customizations As a Module"
res_model="base.module.record"
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_form_view" model= "ir.ui.view" >
2011-09-07 11:39:46 +00:00
<field name= "name" > module.create.form</field>
<field name= "model" > base.module.record.objects</field>
<field name= "arch" type= "xml" >
2011-09-07 12:39:42 +00:00
<form string= "Module Recording" >
2012-06-28 15:20:32 +00:00
<group string= "Module successfully created!" >
<field name= "module_filename" />
<field name= "module_file" />
</group>
<separator string= "Information" />
<label string= "If you think your module could interest other people, we'd like you to publish it on http://www.openerp.com, in the 'Modules' section. You can do it through the website or using features of the 'base_module_publish' module." align= "0.0" />
<label string= "Thanks in advance for your contribution." align= "0.0" />
2011-09-07 12:39:42 +00:00
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
2011-09-07 12:39:42 +00:00
<record model= "ir.actions.act_window" id= "action_module_created" >
<field name= "name" > Module Recording</field>
<field name= "res_model" > base.module.record.objects</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "target" > new</field>
<field name= "view_id" ref= "module_create_form_view" />
</record>
2011-09-07 11:39:46 +00:00
<record id= "info_start_form_view" model= "ir.ui.view" >
<field name= "name" > info.start.form.view</field>
<field name= "model" > base.module.record.objects</field>
<field name= "arch" type= "xml" >
2012-06-18 12:45:11 +00:00
<form string= "Module Recording" version= "7.0" >
2012-06-28 15:20:32 +00:00
<group string= "Module Information" >
<field name= "name" />
<field name= "directory_name" />
<field name= "version" />
<field name= "author" />
<field name= "website" colspan= "4" />
<field name= "category" colspan= "4" />
<field name= "data_kind" />
</group>
<separator string= "Description" />
<field name= "description" />
2012-07-10 16:40:11 +00:00
<footer >
<button string= "Continue" name= "inter_call" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2011-09-07 12:39:42 +00:00
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
<record id= "module_recording_message_view" model= "ir.ui.view" >
<field name= "name" > module_recording_message</field>
<field name= "model" > base.module.record.objects</field>
<field name= "arch" type= "xml" >
2011-09-07 12:39:42 +00:00
<form string= "Module Recording" >
<label string= "Thanks For using Module Recorder" colspan= "4" align= "0.0" />
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
<record id= "yml_save_form_view" model= "ir.ui.view" >
<field name= "name" > yml.save.form</field>
<field name= "model" > base.module.record.objects</field>
<field name= "arch" type= "xml" >
2011-09-07 12:39:42 +00:00
<form string= "Module Recording" >
<separator string= "YAML file successfully created !" colspan= "4" />
<newline />
<field name= "yaml_file" filename= "module_filename" />
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
</data>
2011-09-07 12:39:42 +00:00
</openerp>