mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 07:29:22 +00:00
[fixed] #2614
This commit is contained in:
@@ -91,11 +91,12 @@ erpnext.AccountsChart = Class.extend({
|
|||||||
me.can_delete = frappe.model.can_delete(this.ctype);
|
me.can_delete = frappe.model.can_delete(this.ctype);
|
||||||
me.can_write = frappe.model.can_write(this.ctype);
|
me.can_write = frappe.model.can_write(this.ctype);
|
||||||
|
|
||||||
|
// __("Accounts"), __("Cost Centers")
|
||||||
|
|
||||||
me.company = company;
|
me.company = company;
|
||||||
this.tree = new frappe.ui.Tree({
|
this.tree = new frappe.ui.Tree({
|
||||||
parent: $(wrapper),
|
parent: $(wrapper),
|
||||||
label: ctype==="Account" ? __("Accounts") : __("Cost Centers"),
|
label: ctype==="Account" ? "Accounts" : "Cost Centers",
|
||||||
args: {ctype: ctype, comp: company},
|
args: {ctype: ctype, comp: company},
|
||||||
method: 'erpnext.accounts.page.accounts_browser.accounts_browser.get_children',
|
method: 'erpnext.accounts.page.accounts_browser.accounts_browser.get_children',
|
||||||
click: function(link) {
|
click: function(link) {
|
||||||
|
|||||||
Reference in New Issue
Block a user