2011-12-19 10:53:43 +00:00
<openerp >
<data >
<record id= "view_thunderbird_installer" model= "ir.ui.view" >
2012-01-30 20:54:50 +00:00
<field name= "name" > plugin_thunderbird.installer.view</field>
<field name= "model" > plugin_thunderbird.installer</field>
2011-12-19 10:53:43 +00:00
<field name= "type" > form</field>
<field name= "inherit_id" ref= "base.res_config_installer" />
<field name= "arch" type= "xml" >
<data >
<form position= "attributes" >
<attribute name= "string" > Install Thunderbird Plug-In</attribute>
</form>
<separator string= "title" position= "attributes" >
<attribute name= "string" > Install Thunderbird Plug-In</attribute>
</separator>
<xpath expr= "//label[@string='description']" position= "attributes" >
<attribute name= "string" > This plug-in allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one.</attribute>
</xpath>
<xpath expr= "//button[@string='Install Modules']" position= "replace" >
<button colspan= "1" icon= "gtk-close" special= "cancel" string= "_Close" />
</xpath>
<xpath expr= "//button[@string='Cancel']" position= "replace" >
</xpath>
<xpath expr= "//separator[@string="vsep"]" position= "attributes" >
<attribute name= "string" />
<attribute name= "rowspan" > 15</attribute>
</xpath>
<group colspan= "8" position= "replace" >
<group colspan= "8" height= "450" width= "750" >
<field name= "thunderbird" invisible= "1" />
<field name= "name" invisible= "1" />
<field name= "pdf_name" invisible= "1" />
<newline />
2011-12-26 17:12:29 +00:00
<field name= "plugin_file" filename= "name" widget= "url" />
2011-12-19 10:53:43 +00:00
<newline />
<field name= "pdf_file" filename= "pdf_name" widget= "url" />
<newline />
<separator string= "Installation and Configuration Steps" colspan= "4" />
<field name= "description" nolabel= "1" colspan= "8" />
</group>
</group>
</data>
</field>
</record>
<record id= "action_thunderbird_installer" model= "ir.actions.act_window" >
<field name= "name" > Install Thunderbird Plug-In</field>
<field name= "type" > ir.actions.act_window</field>
2012-01-30 20:54:50 +00:00
<field name= "res_model" > plugin_thunderbird.installer</field>
2011-12-19 10:53:43 +00:00
<field name= "view_id" ref= "view_thunderbird_installer" />
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "target" > new</field>
</record>
2012-03-03 07:19:07 +00:00
<!-- Sales Configuration -->
<record id= "view_config_thunderbird_installer" model= "ir.ui.view" >
2012-02-27 05:56:35 +00:00
<field name= "name" > Sales Application</field>
2012-03-20 13:50:02 +00:00
<field name= "model" > sale.config.settings</field>
2012-02-27 05:56:35 +00:00
<field name= "type" > form</field>
2012-03-30 13:55:46 +00:00
<field name= "inherit_id" ref= "base.view_sale_config_settings" />
2012-02-27 05:56:35 +00:00
<field name= "arch" type= "xml" >
2012-03-02 08:50:38 +00:00
<field name= "module_plugin_thunderbird" position= "after" >
2012-03-30 13:55:46 +00:00
<group colspan= "2" attrs= "{'invisible': [('module_crm','=',False)]}" >
2012-03-23 09:12:45 +00:00
<button name= "%(action_thunderbird_installer)d" type= "action"
2012-04-23 11:09:54 +00:00
string="Configure Thunderbird Plugin" icon="gtk-execute"/>
2012-03-23 09:12:45 +00:00
</group>
2012-02-27 05:56:35 +00:00
</field>
</field>
2012-03-03 07:19:07 +00:00
</record>
2011-12-19 10:53:43 +00:00
2012-03-19 10:09:54 +00:00
<!-- <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/> -->
<menuitem id= "menu_base_config_plugins_thunderbird" action= "action_thunderbird_installer" parent= "base.menu_base_config" sequence= "10" />
2011-12-19 10:53:43 +00:00
</data>
</openerp>