I'm trying to figure out how to make a popup window that is shown to a specific user when a record is created. Something like chat.
I know that first I need to configure longpolling.
Than I need to create a template of the popup for the js widget. But I don't have any idea how to show the popup to the user if he is logged in? I'm looking at the mail addon but I just cannot figure out the workflow and how to show the popup.
I can't find any documentation on google for this.
So can someone explain the workflow and how to push actions to the users browser?
How to display confirmation display box / message box on button click: https://goo.gl/6P7aR1
like always your blogspot is NOT useful and you again totally missed the point of the question! By now I figured that I need to use the bus model. Just need to figure out how to use the bus module. What your blogspot tries to do with actions can be done with the confirm attribute in the button tag in a qweb view. Like in one line.