chore: don't make gain/loss journal for base currency transactions
This commit is contained in:
parent
804afaa647
commit
567c0ce1e8
@ -680,6 +680,7 @@ def reconcile_dr_cr_note(dr_cr_notes, company):
|
||||
jv.flags.ignore_exchange_rate = True
|
||||
jv.submit()
|
||||
|
||||
if inv.difference_amount != 0:
|
||||
# make gain/loss journal
|
||||
if inv.party_type == "Customer":
|
||||
dr_or_cr = "credit" if inv.difference_amount < 0 else "debit"
|
||||
|
Loading…
Reference in New Issue
Block a user