[MOV] mail: moved files according to the new module organization
This commit is contained in:
+1
-36
@@ -1,40 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2009-Today OpenERP SA (<http://www.openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import ir_attachment
|
||||
import mail_message_subtype
|
||||
import mail_alias
|
||||
import mail_followers
|
||||
import mail_message
|
||||
import mail_mail
|
||||
import mail_thread
|
||||
import mail_group
|
||||
import mail_template
|
||||
import res_partner
|
||||
import res_users
|
||||
import report
|
||||
import models
|
||||
import wizard
|
||||
import res_config
|
||||
import mail_group_menu
|
||||
import update
|
||||
import controllers
|
||||
import ir_actions
|
||||
import html2text
|
||||
+17
-36
@@ -1,23 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2010-Today OpenERP S.A. (<http://www.openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
{
|
||||
'name': 'Social Network',
|
||||
@@ -35,7 +16,7 @@ It enables the users to read and send messages as well as emails. It also provid
|
||||
|
||||
Main Features
|
||||
-------------
|
||||
* Clean and renewed communication history for any OpenERP document that can act as a discussion topic
|
||||
* Clean and renewed communication history for any Odoo document that can act as a discussion topic
|
||||
* Subscription mechanism to be updated about new messages on interesting documents
|
||||
* Unified feeds page to see recent messages and activity on followed documents
|
||||
* User communication through the feeds page
|
||||
@@ -43,35 +24,35 @@ Main Features
|
||||
* Relies on the global outgoing mail server - an integrated email management system - allowing to send emails with a configurable scheduler-based processing engine
|
||||
* Includes an extensible generic email composition assistant, that can turn into a mass-mailing assistant and is capable of interpreting simple *placeholder expressions* that will be replaced with dynamic data when each email is actually sent.
|
||||
""",
|
||||
'author': 'OpenERP SA',
|
||||
'author': 'Odoo SA',
|
||||
'website': 'https://www.odoo.com/page/enterprise-social-network',
|
||||
'depends': ['base', 'base_setup'],
|
||||
'data': [
|
||||
'wizard/invite_view.xml',
|
||||
'wizard/mail_compose_message_view.xml',
|
||||
'mail_message_subtype.xml',
|
||||
'mail_message_view.xml',
|
||||
'mail_mail_view.xml',
|
||||
'mail_followers_view.xml',
|
||||
'mail_thread_view.xml',
|
||||
'mail_group_view.xml',
|
||||
'res_config_view.xml',
|
||||
'views/mail_message_subtype_views.xml',
|
||||
'views/mail_message_views.xml',
|
||||
'views/mail_mail_views.xml',
|
||||
'views/mail_followers_views.xml',
|
||||
'views/mail_thread_views.xml',
|
||||
'views/mail_group_views.xml',
|
||||
'views/res_config_views.xml',
|
||||
'data/mail_data.xml',
|
||||
'data/mail_group_data.xml',
|
||||
'security/mail_security.xml',
|
||||
'security/ir.model.access.csv',
|
||||
'mail_alias_view.xml',
|
||||
'res_users_view.xml',
|
||||
'views/mail.xml',
|
||||
'views/mail_alias_views.xml',
|
||||
'views/res_users_views.xml',
|
||||
'views/mail_templates.xml',
|
||||
'wizard/email_template_preview_view.xml',
|
||||
'views/email_template_view.xml',
|
||||
'views/ir_actions_view.xml',
|
||||
'views/res_partner_view.xml',
|
||||
'contacts_view.xml',
|
||||
'views/mail_template_views.xml',
|
||||
'views/ir_actions_views.xml',
|
||||
'views/res_partner_views.xml',
|
||||
'views/contact_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
'data/mail_demo.xml',
|
||||
'data/mail_group_demo_data.xml',
|
||||
'data/mail_group_demo.xml',
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import ir_attachment
|
||||
import mail_message_subtype
|
||||
import mail_alias
|
||||
import mail_followers
|
||||
import mail_message
|
||||
import mail_mail
|
||||
import mail_thread
|
||||
import mail_group
|
||||
import mail_template
|
||||
import res_partner
|
||||
import res_users
|
||||
import res_config
|
||||
import ir_ui_menu
|
||||
import update
|
||||
import ir_actions
|
||||
import html2text
|
||||
@@ -23,7 +23,7 @@ from urllib import urlencode
|
||||
from openerp import _, api, fields, models, SUPERUSER_ID
|
||||
from openerp import exceptions
|
||||
from openerp import tools
|
||||
from openerp.addons.mail.mail_message import decode
|
||||
from openerp.addons.mail.models.mail_message import decode
|
||||
from openerp.tools.safe_eval import safe_eval as eval
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2009-Today OpenERP SA (<http://www.openerp.com>).
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
@@ -22,8 +22,8 @@
|
||||
import logging
|
||||
import re
|
||||
|
||||
from openerp.addons.mail.mail_message import decode
|
||||
from openerp.addons.mail.mail_thread import decode_header
|
||||
from openerp.addons.mail.models.mail_message import decode
|
||||
from openerp.addons.mail.models.mail_thread import decode_header
|
||||
from openerp.osv import osv
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user