diff --git a/addons/hr/mail_hr_view.xml b/addons/hr/mail_hr_view.xml
index 203878c7a77..6937145af85 100644
--- a/addons/hr/mail_hr_view.xml
+++ b/addons/hr/mail_hr_view.xml
@@ -11,7 +11,7 @@
'view_mailbox': True,
'view_inbox': True,
'read_action': 'read',
- 'show_compose_message': True
+ 'show_compose_message': False
}""/>
diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml
index e1ca797670b..05ba53fc94e 100644
--- a/addons/mail/data/mail_data.xml
+++ b/addons/mail/data/mail_data.xml
@@ -42,7 +42,7 @@
- none
+ never
diff --git a/addons/mail/data/mail_demo.xml b/addons/mail/data/mail_demo.xml
index cbef3c3f946..5739f5cd470 100644
--- a/addons/mail/data/mail_demo.xml
+++ b/addons/mail/data/mail_demo.xml
@@ -4,76 +4,76 @@
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
- none
+ never
diff --git a/addons/mail/mail_followers.py b/addons/mail/mail_followers.py
index 0059df90530..5065f4377b4 100644
--- a/addons/mail/mail_followers.py
+++ b/addons/mail/mail_followers.py
@@ -96,13 +96,10 @@ class mail_notification(osv.Model):
if message.author_id and message.author_id.email == partner.email:
continue
# Partner does not want to receive any emails or is opt-out
- if partner.notification_email_send == 'none':
+ if partner.notification_email_send == 'never':
continue
- # Partner wants to receive only emails and comments
- if partner.notification_email_send == 'comment' and message.type not in ('email', 'comment'):
- continue
- # Partner wants to receive only emails
- if partner.notification_email_send == 'email' and message.type != 'email':
+ # Partner wants to receive emails, comments and notification
+ if partner.notification_email_send == 'always' and message.type not in ('email', 'comment', 'notification'):
continue
notify_pids.append(partner.id)
return notify_pids
diff --git a/addons/mail/res_partner.py b/addons/mail/res_partner.py
index 8da2441f3bc..0bbe7bdb35f 100644
--- a/addons/mail/res_partner.py
+++ b/addons/mail/res_partner.py
@@ -31,20 +31,16 @@ class res_partner_mail(osv.Model):
_columns = {
'notification_email_send': fields.selection([
- ('none', 'Never'),
- ('email', 'Incoming Emails only'),
- ('comment', 'Incoming Emails and Discussions'),
- ('all', 'All Messages (discussions, emails, followed system notifications)'),
+ ('never', 'Never'),
+ ('always', 'All Messages'),
], 'Receive Messages by Email', required=True,
help="Policy to receive emails for new messages pushed to your personal Inbox:\n"
"- Never: no emails are sent\n"
- "- Incoming Emails only: for messages received by the system via email\n"
- "- Incoming Emails and Discussions: for incoming emails along with internal discussions\n"
"- All Messages: for every notification you receive in your Inbox"),
}
_defaults = {
- 'notification_email_send': lambda *args: 'comment'
+ 'notification_email_send': lambda *args: 'always'
}
def message_get_suggested_recipients(self, cr, uid, ids, context=None):
diff --git a/addons/mail/res_partner_view.xml b/addons/mail/res_partner_view.xml
index 7df5d27c9d0..faad4b2df60 100644
--- a/addons/mail/res_partner_view.xml
+++ b/addons/mail/res_partner_view.xml
@@ -8,7 +8,7 @@
-
+