I am interested in redirecting to the associated opportunity record once the lead is converted.
I know that I would achieve this by overriding custom-main.js in custom/modules/Leads/clients/base/layouts/convert-main/convert-main.js by editing this line:
app.router.record('Leads', leadsModel.id);
But I'm not sure what the correct way is to reference the associated opportunity record.
Any advice?
Thanks.