[FIX] mail: use correct redirect action

The redirect action to the inbox was removed, but the tests (and the default action
method) need to be updated.
This commit is contained in:
Géry Debongnie
2015-09-01 20:58:10 +02:00
committed by Aaron Bohy
parent 78276ebb9e
commit 2cfb915f25
2 changed files with 1 additions and 5 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ class MailThread(models.AbstractModel):
""" When redirecting towards the Inbox, choose which action xml_id has
to be fetched. This method is meant to be inherited, at least in portal
because portal users have a different Inbox action than classic users. """
return 'mail.mail_message_action_inbox'
return 'mail.mail_channel_action_client_slack'
@api.multi
def _notification_link_helper(self, link_type, **kwargs):
-4
View File
@@ -184,10 +184,6 @@
<!-- TODO JEM : SLACK test client action-->
<record id="mail_channel_action_client_slack" model="ir.actions.client">
<field name="name">Chat</field>
<field name="tag">mail.chat.instant_messaging</field>