From 539c67966f3d9cce41eded7c87a1f29f3ad24294 Mon Sep 17 00:00:00 2001 From: Abhishek Balam Date: Sat, 25 Apr 2020 18:13:01 +0530 Subject: [PATCH] rename je template account dt --- .../doctype/journal_entry_template/journal_entry_template.js | 2 +- .../__init__.py | 0 .../journal_entry_template_account.json} | 2 +- .../journal_entry_template_account.py} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename erpnext/accounts/doctype/{je_template_account => journal_entry_template_account}/__init__.py (100%) rename erpnext/accounts/doctype/{je_template_account/je_template_account.json => journal_entry_template_account/journal_entry_template_account.json} (92%) rename erpnext/accounts/doctype/{je_template_account/je_template_account.py => journal_entry_template_account/journal_entry_template_account.py} (84%) 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 959267774d..153392dedc 100644 --- a/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js +++ b/erpnext/accounts/doctype/journal_entry_template/journal_entry_template.js @@ -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"); diff --git a/erpnext/accounts/doctype/je_template_account/__init__.py b/erpnext/accounts/doctype/journal_entry_template_account/__init__.py similarity index 100% rename from erpnext/accounts/doctype/je_template_account/__init__.py rename to erpnext/accounts/doctype/journal_entry_template_account/__init__.py diff --git a/erpnext/accounts/doctype/je_template_account/je_template_account.json b/erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.json similarity index 92% rename from erpnext/accounts/doctype/je_template_account/je_template_account.json rename to erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.json index 748261d2fb..eecd87727d 100644 --- a/erpnext/accounts/doctype/je_template_account/je_template_account.json +++ b/erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.json @@ -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", diff --git a/erpnext/accounts/doctype/je_template_account/je_template_account.py b/erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.py similarity index 84% rename from erpnext/accounts/doctype/je_template_account/je_template_account.py rename to erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.py index fa73f22321..48e6abbc28 100644 --- a/erpnext/accounts/doctype/je_template_account/je_template_account.py +++ b/erpnext/accounts/doctype/journal_entry_template_account/journal_entry_template_account.py @@ -6,5 +6,5 @@ from __future__ import unicode_literals # import frappe from frappe.model.document import Document -class JETemplateAccount(Document): +class JournalEntryTemplateAccount(Document): pass