summaryrefslogtreecommitdiff
path: root/addons/base_setup
diff options
context:
space:
mode:
authorJagdish Panchal (Open ERP) <jap@tinyerp.com>2012-04-04 12:04:48 +0530
committerJagdish Panchal (Open ERP) <jap@tinyerp.com>2012-04-04 12:04:48 +0530
commit45e6fc7b4dcd98427fa0e42c012ae5c5e28b78b1 (patch)
treeb0833540cf2d8f9fb0c871139a97aebab6ebbbb8 /addons/base_setup
parent2eef65b2c6be63395faf08685316073beff40766 (diff)
parentc1c34800a0661e1063d398d403be812bbb026739 (diff)
[MERGE] branch merge with lp:~openerp-dev/openobject-addons/trunk-v62_config
bzr revid: jap@tinyerp.com-20120404063448-d5fvn8vj0majuj85
Diffstat (limited to 'addons/base_setup')
-rw-r--r--addons/base_setup/base_setup.py19
-rw-r--r--addons/base_setup/base_setup_views.xml27
2 files changed, 28 insertions, 18 deletions
diff --git a/addons/base_setup/base_setup.py b/addons/base_setup/base_setup.py
index 19c053bae14..a3effd98148 100644
--- a/addons/base_setup/base_setup.py
+++ b/addons/base_setup/base_setup.py
@@ -204,10 +204,27 @@ class specify_partner_terminology(osv.osv_memory):
# Preferences wizard for Sales & CRM.
-# It is defined here because it must be inherited independently in modules sale and crm.
+# It is defined here because it is inherited independently in modules sale, crm,
+# plugin_outlook and plugin_thunderbird.
#
class sale_config_settings(osv.osv_memory):
_name = 'sale.config.settings'
_inherit = 'res.config.settings'
+ _columns = {
+ 'module_crm': fields.boolean('CRM'),
+ 'module_plugin_thunderbird': fields.boolean('Thunderbird plugin',
+ help="""The plugin allows you archive email and its attachments to the selected
+ OpenERP objects. You can select a partner, a task, a project, an analytical
+ account, or any other object and attach the selected mail as a .eml file in
+ the attachment of a selected record. You can create documents for CRM Lead,
+ HR Applicant and Project Issue from the selected emails.
+ This installs the module plugin_thunderbird."""),
+ 'module_plugin_outlook': fields.boolean('Outlook plugin',
+ help="""The Outlook plugin allows you to select an object that you would like to add
+ to your email and its attachments from MS Outlook. You can select a partner, a task,
+ a project, an analytical account, or any other object and archive a selected
+ email into an OpenERP mail message with attachments.
+ This installs the module plugin_outlook."""),
+ }
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/base_setup/base_setup_views.xml b/addons/base_setup/base_setup_views.xml
index efc071fec68..e68dfaecb68 100644
--- a/addons/base_setup/base_setup_views.xml
+++ b/addons/base_setup/base_setup_views.xml
@@ -1,21 +1,6 @@
<openerp>
<data>
- <!-- Import or create customers configartion view -->
- <record id="action_import_create_installer" model="ir.actions.act_window">
- <field name="name">Create or Import Customers</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">res.partner</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="view_id" ref="base.view_partner_tree"/>
- <field name="help">Create or Import Customers and their contacts manually from this form or you can import your existing partners by CSV spreadsheet from "Import Data" wizard</field>
- </record>
- <record id="config_wizard_action_import_create_installer" model="ir.actions.todo">
- <field name="action_id" ref="action_import_create_installer"/>
- <field name="category_id" ref="base.category_sales_management_config"/>
- </record>
-
<!-- Define default users preferences-->
<record id="view_user_preferences_config_form" model="ir.ui.view">
<field name="name">Set default users preferences</field>
@@ -149,8 +134,16 @@
<field name="arch" type="xml">
<form string="Configure Sales">
<group name="config_sale" colspan="4"/>
- <group name="config_contracts" colspan="4"/>
- <group name="config_emails" colspan="4"/>
+
+ <!-- this part is necessary to allow the plugins to extend the view -->
+ <field name="module_crm" invisible="1"/>
+ <group name="config_fetchmail" colspan="4" attrs="{'invisible': [('module_crm','=',False)]}">
+ <separator string="Emails"/>
+ </group>
+ <field name="module_plugin_thunderbird" attrs="{'invisible': [('module_crm','=',False)]}"/>
+ <newline/>
+ <field name="module_plugin_outlook" attrs="{'invisible': [('module_crm','=',False)]}"/>
+
<group name="config_crm" colspan="4"/>
</form>
</field>