Reasoning: If the outstanding amount is negative means that amount was deducted/debited from the account hence the reference type should be PurchaseInvoice instead of SalesInvoice.
Result - The "FromAccount" in both role party is displaying the same menu as the single role party.
Reasoning: If the outstanding amount is negative means that amount was deducted/debited from the account hence the reference type should be PurchaseInvoice instead of SalesInvoice.
Result - The "FromAccount" in both role party is displaying the same menu as the single role party.
![Screenshot 2024-03-01 130617](https://github.com/frappe/books/assets/97752523/5d685de3-f468-4a5f-9f4b-0fd2128cda44)
Test Supplier 2 has "both" as role