odoo redirect new url code example
Example: odoo redirect url
class Event(models.Model): _inherit = "event.event" @api.multi def pagseguro(self): return { "url": "/vrtx_events/vrtx_events/", "type": "ir.actions.act_url" }