Skip to content

Commit

Permalink
fix: test for invoice returns
Browse files Browse the repository at this point in the history
(cherry picked from commit 1f4b381)
  • Loading branch information
GursheenK authored and mergify[bot] committed Nov 9, 2023
1 parent 8602a3e commit a89af58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/accounts/doctype/payment_entry/payment_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,8 @@ def add_party_gl_entries(self, gl_entries):

gle.update(
{
dr_or_cr: allocated_amount_in_company_currency,
dr_or_cr + "_in_account_currency": d.allocated_amount,
dr_or_cr: abs(allocated_amount_in_company_currency),
dr_or_cr + "_in_account_currency": abs(d.allocated_amount),
"against_voucher_type": against_voucher_type,
"against_voucher": against_voucher,
"cost_center": cost_center,
Expand Down

0 comments on commit a89af58

Please sign in to comment.