[fixed] #2614
This commit is contained in:
parent
50dc4e90e3
commit
d51a47155b
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user