Usually on Odoo, when you want to open a new url you new to use an action "ir.actions.act_url",
but so far I've only saw examples using the return statement. Like this:
return {
'type':'ir.actions.act_url',
'url': 'https://sample.com/home',
'target': 'self',
}
But the problema is that, later on, after opening this URL, I need to go back to Odoo. But this is not possible if the function is over, because of the return.
Is there a way to trigger this act_url action without using return?