diff options
| author | Amit Patel (OpenERP) <apa@tinyerp.com> | 2012-08-22 15:59:32 +0530 |
|---|---|---|
| committer | Amit Patel (OpenERP) <apa@tinyerp.com> | 2012-08-22 15:59:32 +0530 |
| commit | f3dbc30105d35bafafa966e4d8f4265ffdc1da5d (patch) | |
| tree | 731c40b2849996330ea755916bb96ea26570bdce /addons/plugin_thunderbird/plugin_thunderbird.xml | |
| parent | 3d71723ada44186b56ad041d43e569cbe29de4a2 (diff) | |
| parent | a540de6f75cf30c8dc44fcccf3484b74eb1974a5 (diff) | |
[MERGE]:merged with trunk
bzr revid: apa@tinyerp.com-20120822102932-43p759jle2cb1ryy
Diffstat (limited to 'addons/plugin_thunderbird/plugin_thunderbird.xml')
| -rw-r--r-- | addons/plugin_thunderbird/plugin_thunderbird.xml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/addons/plugin_thunderbird/plugin_thunderbird.xml b/addons/plugin_thunderbird/plugin_thunderbird.xml index 7ff4f529fd0..5ea5fc38219 100644 --- a/addons/plugin_thunderbird/plugin_thunderbird.xml +++ b/addons/plugin_thunderbird/plugin_thunderbird.xml @@ -4,20 +4,13 @@ <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="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="before"> - <label string="This plug-in allows you to link your email to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."/> - </separator> - <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="//footer" position="replace"/> <xpath expr="//separator[@string='title']" position="after"> <group> <field name="thunderbird" invisible="1"/> @@ -38,7 +31,7 @@ </ul> </xpath> <separator string="title" position="attributes"> - <attribute name="string">Install Thunderbird Plug-In</attribute> + <attribute name="string"></attribute> </separator> </data> </field> @@ -58,17 +51,16 @@ <record id="view_config_thunderbird_installer" model="ir.ui.view"> <field name="name">Sales Application</field> <field name="model">sale.config.settings</field> - <field name="type">form</field> <field name="inherit_id" ref="base_setup.view_sale_config_settings"/> <field name="arch" type="xml"> - <field name="module_plugin_thunderbird" version="7.0" position="replace"> - <label for="module_plugin_thunderbird"/> + <div name="module_plugin_thunderbird" version="7.0" position="replace"> <div> - <field name="module_plugin_thunderbird"/> - <button name="%(action_thunderbird_installer)d" type="action" string="Configure" icon="gtk-execute" - attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}"/> + <field name="module_plugin_thunderbird" class="oe_inline"/> + <label for="module_plugin_thunderbird"/> + <button name="%(action_thunderbird_installer)d" type="action" string="Download and install the plugin" icon="gtk-execute" + attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}" class="oe_link"/> </div> - </field> + </div> </field> </record> |
