跳至內容
選單
此問題已被標幟
2 回覆
1539 瀏覽次數

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
1092