Skip to content

Commit

Permalink
fix: Make difference entry button not working (#35622)
Browse files Browse the repository at this point in the history
fix: Make difference entry button not working (#35622)

(cherry picked from commit 2f24546)

Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
  • Loading branch information
mergify[bot] and deepeshgarg007 authored Jun 12, 2023
1 parent 2cf871c commit 043815e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/accounts/doctype/journal_entry/journal_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ def get_balance(self, difference_account=None):
blank_row.debit_in_account_currency = abs(diff)
blank_row.debit = abs(diff)

self.set_total_debit_credit()
self.validate_total_debit_and_credit()

@frappe.whitelist()
Expand Down

0 comments on commit 043815e

Please sign in to comment.