I have a scenario in ERPNext related to accounting and invoices.
- When I click on Proforma Invoice, I want it to open the Sales Invoice list but only show the invoices that are linked to Proforma Invoices (filtered by Proforma Invoice type).
- Similarly, when I click on Sales Invoice, it should open the Sales Invoice list filtered to show only regular Sales Invoices.
Basically, I want the Sales Invoice list to be filtered automatically depending on whether I accessed it via Proforma Invoice or Sales Invoice.