commit | 0bcf3e307c1ac5f9acb50e51b577bdc7eed4df89 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Jan 14 11:27:25 2015 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Jan 14 11:27:25 2015 +0530 |
tree | a3f34b84f940b9b996c5dc9ec6d64fbfe155eba4 | |
parent | 60700e30b43cbc1d20532a410bedc1efa6863b1a [diff] | |
parent | e3e3a56b5c9214d5841b3a77798487d7c3fc8e98 [diff] |
Merge pull request #2579 from neilLasrado/jv-fix Journal entries recalc totals on del of accounts table row
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.js b/erpnext/accounts/doctype/journal_entry/journal_entry.js index a726d7d..5cfa971 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.js +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.js
@@ -282,3 +282,8 @@ }); } }) + +frappe.ui.form.on("Journal Entry Account", "accounts_remove", function(frm) { + cur_frm.cscript.update_totals(frm.doc); +}); +