From 5140ae0d981a008d127b14bd00b7fe4af6bcbf01 Mon Sep 17 00:00:00 2001 From: "YSA (Openerp)" Date: Fri, 4 Feb 2011 11:59:34 +0530 Subject: [PATCH] [IMP] add email module depedancy in related module. bzr revid: ysa@tinyerp.com-20110204062934-yf8in8dzu15vdmeh --- addons/account_followup/__openerp__.py | 2 +- addons/base_action_rule/__openerp__.py | 8 ++++---- addons/base_calendar/__openerp__.py | 6 +++--- addons/crm/__openerp__.py | 1 + addons/event/__openerp__.py | 2 +- addons/event/event.py | 1 - addons/hr_evaluation/__openerp__.py | 2 +- addons/hr_evaluation/hr_evaluation.py | 1 - addons/project/__openerp__.py | 2 +- addons/project_scrum/__openerp__.py | 2 +- addons/share/__openerp__.py | 4 ++-- addons/share/wizard/share_wizard.py | 1 - addons/survey/__openerp__.py | 4 ++-- 13 files changed, 17 insertions(+), 19 deletions(-) diff --git a/addons/account_followup/__openerp__.py b/addons/account_followup/__openerp__.py index ae6fb8e4fce..c0c78ebae4f 100644 --- a/addons/account_followup/__openerp__.py +++ b/addons/account_followup/__openerp__.py @@ -43,7 +43,7 @@ """, 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'depends': ['account'], + 'depends': ['account', 'email'], 'init_xml': [], 'update_xml': [ 'security/ir.model.access.csv', diff --git a/addons/base_action_rule/__openerp__.py b/addons/base_action_rule/__openerp__.py index 7717890afba..2611bcee042 100644 --- a/addons/base_action_rule/__openerp__.py +++ b/addons/base_action_rule/__openerp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -26,12 +26,12 @@ 'description': "This module allows to implement action rules for any object.", 'author': 'OpenERP SA', 'website': 'http://www.openerp.com', - 'depends': ['base'], + 'depends': ['base', 'email'], 'init_xml': [ 'base_action_rule_data.xml' ], 'update_xml': [ - 'base_action_rule_view.xml', + 'base_action_rule_view.xml', 'security/ir.model.access.csv', ], 'demo_xml': [], diff --git a/addons/base_calendar/__openerp__.py b/addons/base_calendar/__openerp__.py index 6a52e30de27..4b6cceb5f9c 100644 --- a/addons/base_calendar/__openerp__.py +++ b/addons/base_calendar/__openerp__.py @@ -20,9 +20,9 @@ ############################################################################## { - "name" : "Basic Calendar Functionality", - "version" : "1.0", - "depends" : ["base"], + "name" : "Basic Calendar Functionality", + "version" : "1.0", + "depends" : ["base", "email"], 'description': """Full featured calendar system that supports: - Calendar of events - Alerts (create requests) diff --git a/addons/crm/__openerp__.py b/addons/crm/__openerp__.py index db69144b408..f883cf3817d 100644 --- a/addons/crm/__openerp__.py +++ b/addons/crm/__openerp__.py @@ -54,6 +54,7 @@ Create dashboard for CRM that includes: 'website': 'http://www.openerp.com', 'depends': [ 'base', + 'email', 'base_action_rule', 'process', 'mail_gateway', diff --git a/addons/event/__openerp__.py b/addons/event/__openerp__.py index a45eeac0dae..370f31b3bce 100644 --- a/addons/event/__openerp__.py +++ b/addons/event/__openerp__.py @@ -39,7 +39,7 @@ Events / Reporting """, 'author': 'OpenERP SA', - 'depends': ['crm', 'base_contact', 'account', 'marketing'], + 'depends': ['crm', 'base_contact', 'account', 'marketing', 'email'], 'init_xml': [], 'update_xml': [ 'security/event_security.xml', diff --git a/addons/event/event.py b/addons/event/event.py index 50ebe67646a..faf5b764084 100644 --- a/addons/event/event.py +++ b/addons/event/event.py @@ -24,7 +24,6 @@ import time from crm import crm from osv import fields, osv from tools.translate import _ -import tools import decimal_precision as dp class event_type(osv.osv): diff --git a/addons/hr_evaluation/__openerp__.py b/addons/hr_evaluation/__openerp__.py index 0232911d9ef..d6177723d07 100644 --- a/addons/hr_evaluation/__openerp__.py +++ b/addons/hr_evaluation/__openerp__.py @@ -25,7 +25,7 @@ "author": "OpenERP SA", "category": "Generic Modules/Human Resources", "website": "http://www.openerp.com", - "depends": ["hr",'hr_recruitment','survey'], + "depends": ["hr","hr_recruitment","survey", "email"], "description": """ Ability to create employees evaluation. An evaluation can be created by employee for subordinates, diff --git a/addons/hr_evaluation/hr_evaluation.py b/addons/hr_evaluation/hr_evaluation.py index f5d8e677e0c..68672aacf7f 100644 --- a/addons/hr_evaluation/hr_evaluation.py +++ b/addons/hr_evaluation/hr_evaluation.py @@ -24,7 +24,6 @@ from datetime import datetime from dateutil.relativedelta import relativedelta from dateutil import parser from osv import fields, osv -import tools from tools.translate import _ class hr_evaluation_plan(osv.osv): diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index 3177744ea9c..d63b04a683f 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -26,7 +26,7 @@ "author": "OpenERP SA", "website": "http://www.openerp.com", "category": "Generic Modules/Projects & Services", - "depends": ["product", "analytic", "board"], + "depends": ["product", "analytic", "board", "email"], "description": """Project management module tracks multi-level projects, tasks, work done on tasks, eso. It is able to render planning, order tasks, eso. Dashboard for project members that includes: diff --git a/addons/project_scrum/__openerp__.py b/addons/project_scrum/__openerp__.py index a4b4e453acb..0f0e7800dda 100644 --- a/addons/project_scrum/__openerp__.py +++ b/addons/project_scrum/__openerp__.py @@ -47,7 +47,7 @@ * http://controlchaos.com """, 'author': 'OpenERP SA', - 'depends': ['project', 'process'], + 'depends': ['project', 'process', 'email'], 'init_xml': [], 'update_xml': [ 'security/ir.model.access.csv', diff --git a/addons/share/__openerp__.py b/addons/share/__openerp__.py index ff380c25d82..0fcc6fc9f46 100644 --- a/addons/share/__openerp__.py +++ b/addons/share/__openerp__.py @@ -23,7 +23,7 @@ { "name" : "Sharing Tools", "version" : "1.2", - "depends" : ["base"], + "depends" : ["base", "email"], "author" : "OpenERP SA", "category": 'Generic Modules', "description": """ @@ -36,7 +36,7 @@ combining the appropriate access rights and ir.rules to ensure that the shared users only have access to the data that has been shared with them. - This is extremely useful for collaborative work, knowledge sharing, + This is extremely useful for collaborative work, knowledge sharing, synchronization with other companies, etc. """, diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py index af0758b5c21..4dc1898a3ea 100644 --- a/addons/share/wizard/share_wizard.py +++ b/addons/share/wizard/share_wizard.py @@ -22,7 +22,6 @@ import logging import random import time -import tools from osv import osv, fields from osv.expression import expression from tools.translate import _ diff --git a/addons/survey/__openerp__.py b/addons/survey/__openerp__.py index ab32749b099..349b83fbf32 100644 --- a/addons/survey/__openerp__.py +++ b/addons/survey/__openerp__.py @@ -26,11 +26,11 @@ 'description': """ This module is used for surveying. It depends on the answers or reviews of some questions by different users. A survey may have multiple pages. Each page may contain multiple questions and each question may have multiple answers. - Different users may give different answers of question and according to that survey is done. + Different users may give different answers of question and according to that survey is done. Partners are also sent mails with user name and password for the invitation of the survey """, 'author': 'OpenERP SA', - 'depends': ['base_tools'], + 'depends': ['base_tools', 'email'], 'update_xml': ['survey_report.xml', 'survey_data.xml', 'wizard/survey_selection.xml',