mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-31 10:52:41 +02:00
fix: Multicurrency invoice with exchange gain and loss showing up in AR/AP report
This commit is contained in:
@@ -685,10 +685,10 @@ class ReceivablePayableReport(object):
|
|||||||
|
|
||||||
if self.filters.get(scrub(self.party_type)):
|
if self.filters.get(scrub(self.party_type)):
|
||||||
select_fields = "debit_in_account_currency as debit, credit_in_account_currency as credit"
|
select_fields = "debit_in_account_currency as debit, credit_in_account_currency as credit"
|
||||||
|
doc_currency_fields = "debit as debit_in_account_currency, credit as credit_in_account_currency"
|
||||||
else:
|
else:
|
||||||
select_fields = "debit, credit"
|
select_fields = "debit, credit"
|
||||||
|
doc_currency_fields = "debit_in_account_currency, credit_in_account_currency"
|
||||||
doc_currency_fields = "debit_in_account_currency, credit_in_account_currency"
|
|
||||||
|
|
||||||
remarks = ", remarks" if self.filters.get("show_remarks") else ""
|
remarks = ", remarks" if self.filters.get("show_remarks") else ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user