mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
chore: don't make gain/loss journal for base currency transactions
(cherry picked from commit 567c0ce1e8)
This commit is contained in:
@@ -678,6 +678,7 @@ def reconcile_dr_cr_note(dr_cr_notes, company):
|
|||||||
>>>>>>> c87332d5da (refactor: cr/dr note will be on single exchange rate)
|
>>>>>>> c87332d5da (refactor: cr/dr note will be on single exchange rate)
|
||||||
jv.submit()
|
jv.submit()
|
||||||
|
|
||||||
|
if inv.difference_amount != 0:
|
||||||
# make gain/loss journal
|
# make gain/loss journal
|
||||||
if inv.party_type == "Customer":
|
if inv.party_type == "Customer":
|
||||||
dr_or_cr = "credit" if inv.difference_amount < 0 else "debit"
|
dr_or_cr = "credit" if inv.difference_amount < 0 else "debit"
|
||||||
|
|||||||
Reference in New Issue
Block a user