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

Hi all, 

In my company we are looking for a way to better notify users of whats happening in odoo (Chat and Activities) - is there any way to show the notifications as browser popups?


Also, is there a way to do the same thing in the odoo mobile app?

Emails are ok but i need real push messages...


Thank you!


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You can allow Odoo to send you notifications through your browser, that also is possible for the Odoo App. So you get those standard notifications of your OS.







obd.digital

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

How exactly can push popup notifications be set up? We have enabled in user settings "Notification: Handle in Odoo" (instead of Email). But this only enables an alert on the small bell in the upper right of the page but no system messages. How could we we make system messages work?


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

In odoo, you can send sticky notifications by using the code


def sticky_notif(self):

    return {

            'type': 'ir.actions.client',

            'tag': 'display_notification',

            'params': {

                'message': _("Sample sticky notification"),

                'type': 'success',

            },

        }


The notification will be appear like


Hope it helps

อวตาร
ละทิ้ง

@Cybrosys Techno Solutions Pvt.Ltd,

Relative to the OP's initial inquiry, where do you propose this code you shared goes? That is, where would it be used, both in this specific case AND in other cases?

Thanks in advance.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Remove Journal Entry Error Notifications แก้ไขแล้ว
1
ธ.ค. 24
1506
0
ก.พ. 24
1569
0
เม.ย. 17
13053
1
ก.ค. 24
3592
5
ก.ค. 25
2604