1 # -*- coding: utf-8 -*-
2 ##############################################################################
4 # OpenERP, Open Source Business Applications
5 # Copyright (C) 2004-2012 OpenERP S.A. (<http://openerp.com>).
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU Affero General Public License as
9 # published by the Free Software Foundation, either version 3 of the
10 # License, or (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU Affero General Public License for more details.
17 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ##############################################################################
22 from osv import fields, osv
24 class crm_configuration(osv.osv_memory):
25 _name = 'sale.config.settings'
26 _inherit = ['sale.config.settings', 'fetchmail.config.settings']
29 'module_crm_caldav': fields.boolean("Caldav Synchronization",
30 help="""Use protocol caldav to synchronize meetings with other calendar applications (like Sunbird).
31 This installs the module crm_caldav."""),
32 'fetchmail_lead': fields.boolean("Create Leads from an E-mail Account",
33 fetchmail_model='crm.lead', fetchmail_name='Incoming leads',
34 help="""Allows you to configure your incoming mail server, and create leads from incoming emails."""),
35 'lead_server': fields.char('Server', size=256),
36 'lead_port': fields.integer('Port'),
37 'lead_type': fields.selection([
38 ('pop', 'POP Server'),
39 ('imap', 'IMAP Server'),
40 ('local', 'Local Server'),
42 'lead_is_ssl': fields.boolean('SSL/TLS',
43 help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP=995)"),
44 'lead_user': fields.char('Username', size=256),
45 'lead_password': fields.char('Password', size=1024),
46 'module_import_sugarcrm': fields.boolean("SugarCRM Import",
47 help="""Import SugarCRM leads, opportunities, users, accounts, contacts, employees, meetings, phonecalls, emails, project and project tasks data.
48 This installs the module import_sugarcrm."""),
49 'module_import_google': fields.boolean("Google Import",
50 help="""Import google contact in partner address and add google calendar events details in Meeting.
51 This installs the module import_google."""),
52 'module_wiki_sale_faq': fields.boolean("Install a Sales FAQ",
53 help="""This provides demo data, thereby creating a Wiki Group and a Wiki Page for Wiki Sale FAQ.
54 This installs the module wiki_sale_faq."""),
55 'module_google_map': fields.boolean("Google Maps on Customer",
56 help="""Locate customers on Google Map.
57 This installs the module google_map."""),
64 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: