fix: differency entry journal debit/credit missing (#34104)

* fix: difference entry journal is wrong

* fix: difference entry journal is wrong
This commit is contained in:
Alirio Castro
2023-02-19 10:10:13 -04:00
committed by GitHub
parent 2a90fad710
commit 183e42af1a

View File

@@ -368,6 +368,7 @@ class PaymentReconciliation(Document):
"exchange_rate": 1,
"cost_center": erpnext.get_default_cost_center(self.company),
reverse_dr_or_cr + "_in_account_currency": flt(row.difference_amount),
reverse_dr_or_cr: flt(row.difference_amount),
}
)