2012-06-08 13:10:48 +00:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-12-19 10:53:43 +00:00
|
|
|
|
<openerp>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<data>
|
|
|
|
|
<record id="view_thunderbird_installer" model="ir.ui.view">
|
|
|
|
|
<field name="name">plugin_thunderbird.installer.view</field>
|
|
|
|
|
<field name="model">plugin_thunderbird.installer</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>
|
2012-07-18 13:08:22 +00:00
|
|
|
|
<xpath expr="//footer" position="replace"/>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<xpath expr="//separator[@string='title']" position="after">
|
2012-06-25 10:32:35 +00:00
|
|
|
|
<group>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<field name="thunderbird" invisible="1"/>
|
2012-06-25 10:32:35 +00:00
|
|
|
|
<field name="plugin_name" invisible="1"/>
|
|
|
|
|
<field name="plugin_file" filename="plugin_name" widget="url"/>
|
|
|
|
|
<field name="pdf_file" widget="url"/>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
</group>
|
2012-06-25 10:32:35 +00:00
|
|
|
|
<separator string="Installation and Configuration Steps"/>
|
|
|
|
|
<p>Thunderbird plugin installation:</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>1. Save the Thunderbird plug-in.</li>
|
|
|
|
|
<li>2. From the Thunderbird menubar: Tools > Add-ons -> Screwdriver/Wrench Icon -> Install add-on from file...</li>
|
2012-06-25 12:28:39 +00:00
|
|
|
|
<li>3. Select the plug-in (the file named openerp_plugin.xpi).</li>
|
|
|
|
|
<li>4. Click "Install Now".</li>
|
|
|
|
|
<li>5. Restart Thunderbird.</li>
|
|
|
|
|
<li>6. From the Thunderbird menubar: OpenERP -> Configuration.</li>
|
|
|
|
|
<li>7. Configure your openerp server.</li>
|
2012-06-25 10:32:35 +00:00
|
|
|
|
</ul>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
</xpath>
|
|
|
|
|
<separator string="title" position="attributes">
|
2012-07-02 04:51:47 +00:00
|
|
|
|
<attribute name="string"></attribute>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
</separator>
|
|
|
|
|
</data>
|
|
|
|
|
</field>
|
|
|
|
|
</record>
|
2011-12-19 10:53:43 +00:00
|
|
|
|
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<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>
|
|
|
|
|
<field name="res_model">plugin_thunderbird.installer</field>
|
|
|
|
|
<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-06-19 10:50:01 +00:00
|
|
|
|
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<!-- Sales Configuration -->
|
|
|
|
|
<record id="view_config_thunderbird_installer" model="ir.ui.view">
|
|
|
|
|
<field name="name">Sales Application</field>
|
|
|
|
|
<field name="model">sale.config.settings</field>
|
2012-06-22 09:49:40 +00:00
|
|
|
|
<field name="inherit_id" ref="base_setup.view_sale_config_settings"/>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<field name="arch" type="xml">
|
2012-07-17 11:33:04 +00:00
|
|
|
|
<div name="module_plugin_thunderbird" version="7.0" position="replace">
|
2012-07-20 06:59:01 +00:00
|
|
|
|
<div>
|
|
|
|
|
<field name="module_plugin_thunderbird" class="oe_inline"/>
|
|
|
|
|
<label for="module_plugin_thunderbird"/>
|
2012-07-17 11:33:04 +00:00
|
|
|
|
<button name="%(action_thunderbird_installer)d" type="action" string="Download and install the plugin" icon="gtk-execute"
|
2012-07-20 06:59:01 +00:00
|
|
|
|
attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}" class="oe_link"/>
|
|
|
|
|
</div>
|
2012-07-17 11:33:04 +00:00
|
|
|
|
</div>
|
2012-06-08 18:35:18 +00:00
|
|
|
|
</field>
|
|
|
|
|
</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"/>-->
|
2012-06-08 18:35:18 +00:00
|
|
|
|
<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
|
|
|
|
|
2012-06-08 18:35:18 +00:00
|
|
|
|
</data>
|
2011-12-19 10:53:43 +00:00
|
|
|
|
</openerp>
|