'in odoo14 , i'm sending a notficition to the manager , is there any option to add a button in the notification?
i want to add a button in the notification so the manager can answer with yes or no def Send_notificiton(): for note in self: note.manager_id.user_id.notify_danger(message="asking for permission")
Solution 1:[1]
In Odoo 14 you can't set actions in a notification.
But You can write a module with JS and create custom notification what have actions option or others.
So you can develop new module for it, but the original odoo 14 notification can't do it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | RapThor |