跳至内容
菜单
此问题已终结
2 回复
1582 查看

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 })

形象
丢弃
编写者 最佳答案

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

形象
丢弃
最佳答案

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

形象
丢弃
编写者

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

相关帖文 回复 查看 活动
0
6月 24
1126