diff options
| author | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-11-09 10:19:47 +0530 |
|---|---|---|
| committer | Atul Patel (OpenERP) <atp@tinyerp.com> | 2012-11-09 10:19:47 +0530 |
| commit | 16d71823e4e08033145aa06500753e8ba073a160 (patch) | |
| tree | 421a9d80ac6559c8f9daf62b5c31c699d0578066 /addons/plugin_thunderbird | |
| parent | 292fe2d2fa3ed6a8028834b173aa0156a0fed7a0 (diff) | |
| parent | 0528e00788a7cca36353a2996ab58568bdd8be78 (diff) | |
[MERGE]:Merged wtih lp:openobject-addons
bzr revid: atp@tinyerp.com-20121109044947-n81qke33jp9p30af
Diffstat (limited to 'addons/plugin_thunderbird')
| -rw-r--r-- | addons/plugin_thunderbird/plugin_thunderbird.py | 3 | ||||
| -rw-r--r-- | addons/plugin_thunderbird/plugin_thunderbird.xml | 29 |
2 files changed, 17 insertions, 15 deletions
diff --git a/addons/plugin_thunderbird/plugin_thunderbird.py b/addons/plugin_thunderbird/plugin_thunderbird.py index 52d240f609d..e10f05c04a3 100644 --- a/addons/plugin_thunderbird/plugin_thunderbird.py +++ b/addons/plugin_thunderbird/plugin_thunderbird.py @@ -30,7 +30,6 @@ class plugin_thunderbird_installer(osv.osv_memory): 'thunderbird': fields.boolean('Thunderbird Plug-in', help="Allows you to select an object that you would like to add to your email and its attachments."), 'plugin_name': fields.char('File name', size=64), 'plugin_file': fields.char('Thunderbird Plug-in', size=256, readonly=True, help="Thunderbird plug-in file. Save this file and install it in Thunderbird."), - 'pdf_file': fields.char('Installation Manual', size=256, help="The documentation file :- how to install Thunderbird Plug-in.", readonly=True), } _defaults = { @@ -45,4 +44,4 @@ class plugin_thunderbird_installer(osv.osv_memory): res['plugin_file'] = base_url + '/plugin_thunderbird/static/openerp_plugin.xpi' return res -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/plugin_thunderbird/plugin_thunderbird.xml b/addons/plugin_thunderbird/plugin_thunderbird.xml index 5ea5fc38219..3774a369437 100644 --- a/addons/plugin_thunderbird/plugin_thunderbird.xml +++ b/addons/plugin_thunderbird/plugin_thunderbird.xml @@ -10,25 +10,28 @@ <form position="attributes"> <attribute name="string">Install Thunderbird Plug-In</attribute> </form> - <xpath expr="//footer" position="replace"/> + <xpath expr="//footer" position="replace"> + <footer> + <button string="Close" special="Cancel" class="oe_highlight"/> + </footer> + </xpath> <xpath expr="//separator[@string='title']" position="after"> <group> <field name="thunderbird" invisible="1"/> <field name="plugin_name" invisible="1"/> <field name="plugin_file" filename="plugin_name" widget="url"/> - <field name="pdf_file" widget="url"/> </group> <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> - <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> - </ul> + <p>Thunderbird plug-in installation:</p> + <ol> + <li> Save the Thunderbird plug-in.</li> + <li> From the Thunderbird menubar: Tools > Add-ons -> Screwdriver/Wrench Icon -> Install add-on from file...</li> + <li> Select the plug-in (the file named openerp_plugin.xpi).</li> + <li> Click "Install Now".</li> + <li> Restart Thunderbird.</li> + <li> From the Thunderbird menubar: OpenERP -> Configuration.</li> + <li> Configure your openerp server.</li> + </ol> </xpath> <separator string="title" position="attributes"> <attribute name="string"></attribute> @@ -57,7 +60,7 @@ <div> <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" + <button name="%(action_thunderbird_installer)d" type="action" string="Download and install the plug-in" icon="gtk-execute" attrs="{'invisible': [('module_plugin_thunderbird','=',False)]}" class="oe_link"/> </div> </div> |
