rename je template account dt

This commit is contained in:
Abhishek Balam 2020-04-25 18:13:01 +05:30
parent fb5fbd7e0c
commit 539c67966f
4 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ frappe.ui.form.on("Journal Entry Template", {
voucher_type: function(frm) {
var add_accounts = function(doc, r) {
$.each(r, function(i, d) {
var row = frappe.model.add_child(doc, "JE Template Account", "accounts");
var row = frappe.model.add_child(doc, "Journal Entry Template Account", "accounts");
row.account = d.account;
});
refresh_field("accounts");

View File

@ -22,7 +22,7 @@
"modified": "2020-04-25 01:15:44.879839",
"modified_by": "Administrator",
"module": "Accounts",
"name": "JE Template Account",
"name": "Journal Entry Template Account",
"owner": "Administrator",
"permissions": [],
"sort_field": "modified",

View File

@ -6,5 +6,5 @@ from __future__ import unicode_literals
# import frappe
from frappe.model.document import Document
class JETemplateAccount(Document):
class JournalEntryTemplateAccount(Document):
pass