import frappe def get_context(context): frappe.local.flags.redirect_location = "https://wes.advante.ch" raise frappe.Redirect