Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1538 Vistas

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
Descartar
Autor Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
0
jun 24
1091