frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.93k stars 7.35k forks source link

Incorrect currency when when getting advances in Sales Invoice #42208

Open ishanloya opened 4 months ago

ishanloya commented 4 months ago

Information about bug

I have a Sales Invoice in Australian Dollars (AUD). When I try to "Get Advances Received" in the sales invoice, the payment entry is fetched and the amount is shown in INR (base currency). But when I try to save the invoice, it considers the payment entry currency amount as AUD even though the amount is in INR.

Module

accounts

Version

ERPNext: v15.29.2 (version-15) Frappe Framework: v15.33.3 (version-15) India Compliance: v15.10.0 (version-15)

Installation method

manual install

Relevant log output / Stack trace / Full Error Message.

Allocated amount with taxes (GST) in advances table cannot be greater than outstanding amount of the document. Allocated amount with taxes is greater by A$ xxxxx
Ponyooooo commented 4 months ago

this is a same bug as https://github.com/frappe/erpnext/issues/42062