rename je template account dt
This commit is contained in:
parent
fb5fbd7e0c
commit
539c67966f
@ -23,7 +23,7 @@ frappe.ui.form.on("Journal Entry Template", {
|
|||||||
voucher_type: function(frm) {
|
voucher_type: function(frm) {
|
||||||
var add_accounts = function(doc, r) {
|
var add_accounts = function(doc, r) {
|
||||||
$.each(r, function(i, d) {
|
$.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;
|
row.account = d.account;
|
||||||
});
|
});
|
||||||
refresh_field("accounts");
|
refresh_field("accounts");
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
"modified": "2020-04-25 01:15:44.879839",
|
"modified": "2020-04-25 01:15:44.879839",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "JE Template Account",
|
"name": "Journal Entry Template Account",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [],
|
"permissions": [],
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
|||||||
# import frappe
|
# import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
class JETemplateAccount(Document):
|
class JournalEntryTemplateAccount(Document):
|
||||||
pass
|
pass
|
||||||
Loading…
x
Reference in New Issue
Block a user