summaryrefslogtreecommitdiff
path: root/addons/website_forum/tests
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2016-08-17 10:20:27 +0200
committerThibault Delavallée <tde@openerp.com>2016-09-01 13:19:24 +0200
commit029d1baf359eabb7ed531287f3cb2b3b8d586d39 (patch)
tree9ff174a0fb0c8423c0c9bf23f6d3ebc964e59054 /addons/website_forum/tests
parent9c1af690d58068f3831bc7e22878d9b0065f8a28 (diff)
[REF] mail: remove required alias on users
This commit remove required alias on res.users model. It also removes the inheritance of mail.alias.mixin. The field alias_id is kept and allow people to use aliases on users if they want. However there is no default void alias created for each user anymore. Default from of mail.message does not use user alias anymore. Indeed this creates issues with aliases not being correctly configured and can be confusing compared to private channels. Using user aliases is therefore now done manually instead of being a default behavior.
Diffstat (limited to 'addons/website_forum/tests')
-rw-r--r--addons/website_forum/tests/common.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/website_forum/tests/common.py b/addons/website_forum/tests/common.py
index f2f074aeff0..75b6237bf53 100644
--- a/addons/website_forum/tests/common.py
+++ b/addons/website_forum/tests/common.py
@@ -35,7 +35,6 @@ class TestForumCommon(common.SavepointCase):
cls.user_employee = TestUsersEnv.create({
'name': 'Armande Employee',
'login': 'Armande',
- 'alias_name': 'armande',
'email': 'armande.employee@example.com',
'karma': 0,
'groups_id': [(6, 0, [group_employee_id])]
@@ -43,7 +42,6 @@ class TestForumCommon(common.SavepointCase):
cls.user_portal = TestUsersEnv.create({
'name': 'Beatrice Portal',
'login': 'Beatrice',
- 'alias_name': 'beatrice',
'email': 'beatrice.employee@example.com',
'karma': 0,
'groups_id': [(6, 0, [group_portal_id])]
@@ -51,7 +49,6 @@ class TestForumCommon(common.SavepointCase):
cls.user_public = TestUsersEnv.create({
'name': 'Cedric Public',
'login': 'Cedric',
- 'alias_name': 'cedric',
'email': 'cedric.employee@example.com',
'karma': 0,
'groups_id': [(6, 0, [group_public_id])]