commit | 2085626390f705d5cbd4abbf664efecbc96aa91f | [log] [tgz] |
---|---|---|
author | Solufyin <34390782+Solufyin@users.noreply.github.com> | Thu Sep 01 11:49:13 2022 +0530 |
committer | GitHub <noreply@github.com> | Thu Sep 01 11:49:13 2022 +0530 |
tree | 9f109708b96ca10e0d1abe13584776fce008e03e | |
parent | 30039e8e624f341f1f32b845094d1a1e96e29799 [diff] |
fix: Naming series in Journal Entry Template
diff --git a/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js b/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js index 1c19c1d..cf5fbe1 100644 --- a/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js +++ b/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js
@@ -2,7 +2,7 @@ // For license information, please see license.txt frappe.ui.form.on("Journal Entry Template", { - setup: function(frm) { + refresh: function(frm) { frappe.model.set_default_values(frm.doc); frm.set_query("account" ,"accounts", function(){