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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Objects Recording" >
2011-09-07 12:39:42 +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>
<separator colspan= "4" />
<group colspan= "4" col= "2" >
<button icon= "gtk-cancel" string= "Cancel" special= "cancel" />
<button name= "record_objects" icon= "gtk-ok" string= "Record" type= "object" />
</group>
</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= "type" > form</field>
<field name= "arch" type= "xml" >
2011-09-07 12:39:42 +00:00
<form string= "Module Recording" >
2012-04-24 06:05:32 +00:00
<separator string= "Module successfully created!" colspan= "4" />
2011-09-07 12:39:42 +00:00
<field name= "module_filename" />
<newline />
<field name= "module_file" />
<separator string= "Information" colspan= "4" />
<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." colspan= "4" align= "0.0" />
<label string= "Thanks in advance for your contribution." colspan= "4" align= "0.0" />
<separator colspan= "4" />
<group colspan= "4" col= "2" >
<label string= "" />
2011-09-08 07:00:18 +00:00
<button icon= "gtk-close" string= "Close" special= "cancel" />
2011-09-07 11:39:46 +00:00
</group>
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= "type" > form</field>
<field name= "arch" type= "xml" >
2011-09-07 12:39:42 +00:00
<form string= "Module Recording" >
<separator string= "Module Information" colspan= "4" />
<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" />
<newline />
<field name= "description" colspan= "4" />
<separator colspan= "4" />
<group colspan= "4" col= "2" >
<button icon= "gtk-cancel" string= "Cancel" special= "cancel" />
<button string= "Continue" name= "inter_call" type= "object" icon= "gtk-ok" />
2011-09-07 11:39:46 +00:00
</group>
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= "type" > form</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" />
<separator string= "" colspan= "4" />
<group colspan= "4" col= "2" >
<label string= "" />
<button icon= "gtk-ok" string= "OK" special= "cancel" />
2011-09-07 11:39:46 +00:00
</group>
2011-09-07 12:39:42 +00:00
</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= "type" > form</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" />
<separator colspan= "4" />
<group colspan= "4" col= "2" >
<label string= "" />
2011-09-08 07:00:18 +00:00
<button icon= "gtk-close" string= "Close" special= "cancel" />
2012-06-28 06:40:05 +00:00
</group>
2011-09-07 12:39:42 +00:00
</form>
2011-09-07 11:39:46 +00:00
</field>
</record>
</data>
2011-09-07 12:39:42 +00:00
</openerp>