[IMP]: Improvement in outlook plugin for opendoc with url
bzr revid: ksa@tinyerp.co.in-20100920054826-n8yo3sd2mansoovl
This commit is contained in:
parent
ae1e7279bf
commit
d60336d76d
|
@ -31,8 +31,7 @@ class outlook_installer(osv.osv_memory):
|
|||
|
||||
def default_get(self, cr, uid, fields, context={}):
|
||||
data = super(outlook_installer, self).default_get(cr, uid, fields, context)
|
||||
doc_file = open(config['addons_path'] + "/outlook/doc/Installation Guide to OpenERP Outlook Plug-in.doc", 'r')
|
||||
data['doc_file'] = base64.encodestring(doc_file.read())
|
||||
data['doc_file'] = 'http://doc.openerp.com/book/2/2_6_Comms/2_6_Comms_outlook.html'
|
||||
file = open(config['addons_path'] + "/outlook/plugin/openerp-outlook-plugin.zip", 'r')
|
||||
data['plugin_file'] = base64.encodestring(file.read())
|
||||
return data
|
||||
|
@ -42,7 +41,7 @@ class outlook_installer(osv.osv_memory):
|
|||
'doc_name':fields.char('File name', size=64),
|
||||
'outlook':fields.boolean('Outlook Plug-in ', help="Allows you to select an object that you’d like to add to your email and its attachments."),
|
||||
'plugin_file':fields.binary('Outlook Plug-in', readonly=True, help="outlook plug-in file. Save as this file and install this plug-in in outlook."),
|
||||
'doc_file':fields.binary('Installation Manual', help="The documentation file :- how to install Outlook Plug-in.", readonly=True),
|
||||
'doc_file':fields.char('Installation Manual',size="264",help="The documentation file :- how to install Outlook Plug-in.", readonly=True),
|
||||
'description':fields.text('Description', readonly=True)
|
||||
}
|
||||
|
||||
|
@ -63,7 +62,7 @@ How to install openerp-outlook plug-in?
|
|||
3. Run “Register-plugin.bat” file.
|
||||
4. Run Outlook and Check addon has been registered.
|
||||
5. Tools->OpenERP Configuration and test your connection.
|
||||
6. See User Guide for more information.
|
||||
6. See User Guide for more information.
|
||||
7. Keep All extratced files in some safe places
|
||||
(e.g. python installation Directory "C:\pythonXX\" or Windows installation Directory "C:\Program Files\" ).
|
||||
"""
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<newline/>
|
||||
<field name="plugin_file" filename="name"/>
|
||||
<newline/>
|
||||
<field name="doc_file" filename="doc_name"/>
|
||||
<field name="doc_file" filename="doc_name" widget="url"/>
|
||||
<newline/>
|
||||
<separator string="Installation and Configuration Steps" colspan="4"/>
|
||||
<field name="description" nolabel="1" colspan="8"/>
|
||||
|
@ -74,20 +74,15 @@
|
|||
<field name="context">{'menu':True}</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="base.menu_base_config_mail"
|
||||
name="Mail"
|
||||
parent="base.menu_base_config"
|
||||
sequence="10"/>
|
||||
|
||||
<menuitem id="base.menu_base_config_plugins"
|
||||
name="Plugins"
|
||||
parent="base.menu_base_config_mail"
|
||||
<menuitem id="base.menu_base_config_plugins"
|
||||
name="Plugins"
|
||||
parent="base.menu_base_config"
|
||||
sequence="10" />
|
||||
|
||||
<menuitem id="menu_base_config_plugins_outlook"
|
||||
action="action_outlook_wizard"
|
||||
name="Outlook Plug-In"
|
||||
parent="base.menu_base_config_plugins"
|
||||
|
||||
<menuitem id="menu_base_config_plugins_outlook"
|
||||
action="action_outlook_wizard"
|
||||
name="Outlook Plug-In"
|
||||
parent="base.menu_base_config_plugins"
|
||||
sequence="10" />
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue