diff options
| author | Thibault Delavallée <tde@openerp.com> | 2015-05-29 12:04:56 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2015-07-09 11:13:02 +0200 |
| commit | d931aa38256518cbdfe576ca7992aa46ccceb49e (patch) | |
| tree | 9244c6f5f406407eb6777326f21443a9eb0a791b /addons/mail/tests/test_mail_features.py | |
| parent | 2c36354ca9c3939cc222e4fdad4adba6d3c0e315 (diff) | |
[RENAME] mail, portal: updated actions and views xml ids
for channel-related stuff. mail.channel views as well as timeline views
and actions have been renamed. Now the names follow the guidelines and
will be used in the upcoming refactoring of mail and chat.
Diffstat (limited to 'addons/mail/tests/test_mail_features.py')
| -rw-r--r-- | addons/mail/tests/test_mail_features.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/tests/test_mail_features.py b/addons/mail/tests/test_mail_features.py index fa7d2888146..0c7e809a5ff 100644 --- a/addons/mail/tests/test_mail_features.py +++ b/addons/mail/tests/test_mail_features.py @@ -64,7 +64,7 @@ class TestMailFeatures(TestMail): def test_inbox_redirection_basic(self): """ Inbox redirection: no params, Inbox """ - inbox_act_id = self.ref('mail.action_mail_inbox_feeds') + inbox_act_id = self.ref('mail.mail_message_action_inbox') action = self.env['mail.thread'].with_context({'params': {}}).sudo(self.user_employee).message_redirect_action() self.assertEqual( action.get('type'), 'ir.actions.act_window', @@ -109,7 +109,7 @@ class TestMailFeatures(TestMail): def test_inbox_redirection_message_inbox(self): """ Inbox redirection: message without read access: Inbox """ message = self.group_pigs.message_post(body='My body', partner_ids=[self.user_employee.partner_id.id], message_type='comment', subtype='mail.mt_comment') - inbox_act_id = self.ref('mail.action_mail_inbox_feeds') + inbox_act_id = self.ref('mail.mail_message_action_inbox') action = self.env['mail.thread'].with_context({ 'params': {'message_id': message.id} }).sudo(self.user_public).message_redirect_action() @@ -125,7 +125,7 @@ class TestMailFeatures(TestMail): @mute_logger('openerp.models') def test_inbox_redirection_document_inbox(self): """ Inbox redirection: document without read access: Inbox """ - inbox_act_id = self.ref('mail.action_mail_inbox_feeds') + inbox_act_id = self.ref('mail.mail_message_action_inbox') action = self.env['mail.thread'].with_context({ 'params': {'model': 'mail.channel', 'res_id': self.group_pigs.id} }).sudo(self.user_public).message_redirect_action() |
