diff --git a/web_notify_channel_message/__manifest__.py b/web_notify_channel_message/__manifest__.py index 352638eb4..7eee0e4f2 100644 --- a/web_notify_channel_message/__manifest__.py +++ b/web_notify_channel_message/__manifest__.py @@ -6,7 +6,7 @@ "name": "Web Notify Channel Message", "summary": """ Send an instant notification to channel users when a new message is posted""", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "license": "AGPL-3", "author": "ForgeFlow, Odoo Community Association (OCA)", "development_status": "Alpha", diff --git a/web_notify_channel_message/models/res_users.py b/web_notify_channel_message/models/res_users.py index 8b0a794b2..570af514e 100644 --- a/web_notify_channel_message/models/res_users.py +++ b/web_notify_channel_message/models/res_users.py @@ -11,6 +11,8 @@ class ResUsers(models.Model): title=None, sticky=False, target=None, + action=None, + params=None, ): if self.env.context.get("_notify_channel_message", False): return super(ResUsers, self.sudo())._notify_channel( @@ -19,6 +21,8 @@ class ResUsers(models.Model): title=title, sticky=sticky, target=target, + action=action, + params=params, ) return super()._notify_channel( type_message=type_message, @@ -26,4 +30,6 @@ class ResUsers(models.Model): title=title, sticky=sticky, target=target, + action=action, + params=params, )