Skip to Content
Menu
This question has been flagged
2 Replies
1536 Views

The  Push Notifications works for user type internal , How to send Push Notifications in Odoo 16 for portal user type. I tried 

self.env['bus.bus'].sudo()._sendone(user.id, 'notification', { 'title': 'Warning', 'message': message })

Avatar
Discard
Author Best Answer

I tried this seems not working , one issue is the push js api is found from the url , but i got it from git hub , bur the information is not getting displayed in mobile

Avatar
Discard
Best Answer

Hi,

Please refer to the blog below to send push notification to portal users.https://www.cybrosys.com/blog/how-to-create-notification-for-portal-users-about-offers-discounts-in-odoo-15

Hope it helps

Avatar
Discard
Author

I tried this seems not working , one issue is the push js api is found from the url , but i got it from git hub , bur the information is not getting displayed in mobile

Related Posts Replies Views Activity
0
Jun 24
1087