Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1549 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มิ.ย. 24
1101