refactor(test): assert Exc journal when reconciling Journa to invoic

This commit is contained in:
ruthra kumar
2023-06-27 11:16:52 +05:30
parent ee3ce82ea8
commit 389cadf157
2 changed files with 14 additions and 4 deletions

View File

@@ -1038,8 +1038,8 @@ class AccountsController(TransactionBase):
# "reference_type": self.doctype,
# "reference_name": self.name,
# "reference_detail_no": arg.idx,
reverse_dr_or_cr + "_in_account_currency": abs(arg.get("difference_amount")),
reverse_dr_or_cr: abs(arg.get("difference_amount")),
reverse_dr_or_cr + "_in_account_currency": 0,
}
)