Files
Vishnu Priya Baskaran a7463e2f9b fix(banking): show correct currency for outstanding invoices in recor… (#59188)
* fix(banking): show correct currency for outstanding invoices in record payment

Return party_account_currency (bound as a query parameter) as the
currency for negative outstanding invoices instead of the invoice's
own transaction currency, so amounts stay correctly denominated when
the party account currency differs (e.g. foreign-currency credit
notes against a company-currency account). Surface the currency in
the Record Payment modal's invoice table and totals.

* fix(accounts): avoid semgrep sql-format-injection in negative outstanding invoice query

Use str.format_map() instead of str.format(**dict) to satisfy the
sql-format-injection semgrep rule for the negative outstanding
invoice query.
2026-09-28 14:15:43 +05:30
..
…