1. Remove the mass mailing install checkbox from marketing and sales settings 2. Show the mass mailing settings only when the module is installed 3. Remove the marketing campaign install checkbox from marketing settings 4. Move the marketing_crm module into marketing_campaign 5. Merge the *.po files from marketing_crm with marketing_campaign
16 lines
537 B
Python
16 lines
537 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from openerp.osv import fields, osv
|
|
|
|
|
|
class marketing_config_settings(osv.TransientModel):
|
|
_name = 'marketing.config.settings'
|
|
_inherit = 'res.config.settings'
|
|
_columns = {
|
|
'module_marketing_campaign': fields.boolean(
|
|
'Marketing campaigns',
|
|
help='Provides leads automation through marketing campaigns. '
|
|
'Campaigns can in fact be defined on any resource, not just CRM leads.\n'
|
|
'-This installs the module marketing_campaign.'),
|
|
}
|