ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Chart of Accounts: Add Child not working

Hi,
Below are the details I got in my browser console when I click on Add Child button in the Chart of Accounts. After clicking on the button It does not open the form.

Uncaught TypeError: me.new_node is not a function
click account__tree_js:158
get_toolbar tree.js:299
jQuery 8
get_toolbar tree.js:298
get_toolbar tree.js:288
make_node_element tree.js:117
tree.js:81
add_node tree.js:124
render_node_children tree.js:176
each jQuery
render_node_children tree.js:175
render_children_of_all_nodes tree.js:169
render_children_of_all_nodes tree.js:169
load_children tree.js:162
promise callback*frappe.run_serially/< dom.js:265
run_serially dom.js:263
load_children tree.js:160
make_page treeview.js:78
_action page.js:577
jQuery 8
add_inner_button page.js:596
make_page treeview.js:77
TreeView treeview.js:40
make treeview.js:21
callback model.js:174
callback request.js:78
200 request.js:122
call request.js:247
jQuery 6
call request.js:229
call request.js:98
with_doctype model.js:148
make treeview.js:10
show factory.js:24
render_page router.js:215
render router.js:194
route router.js:106
set_route desk.js:170
startup desk.js:69
Application desk.js:29
start_app desk.js:13
desk.js:24
jQuery 13
__require libs.bundle.D3DY3IBP.js:10
jQuery
libs.bundle.D3DY3IBP.js:39099
desk.bundle.P7OSGAUP.js line 482 > eval:158:8
click account__tree_js:158
get_toolbar tree.js:299
jQuery 8
get_toolbar tree.js:298
map self-hosted:221
get_toolbar tree.js:288
make_node_element tree.js:117
tree.js:81
add_node tree.js:124
render_node_children tree.js:176
each jQuery
render_node_children tree.js:175
render_children_of_all_nodes tree.js:169
map self-hosted:221
render_children_of_all_nodes tree.js:169
load_children tree.js:162
(Async: promise callback)
run_serially dom.js:265
forEach self-hosted:205
run_serially dom.js:263
load_children tree.js:160
make_page treeview.js:78
_action page.js:577
jQuery 8
add_inner_button page.js:596
make_page treeview.js:77
TreeView treeview.js:40
make treeview.js:21
callback model.js:174
callback request.js:78
200 request.js:122
call request.js:247
jQuery 6
call request.js:229
call request.js:98
with_doctype model.js:148
make treeview.js:10
show factory.js:24
render_page router.js:215
render router.js:194
route router.js:106
set_route desk.js:170
startup desk.js:69
Application desk.js:29
start_app desk.js:13
desk.js:24
jQuery 13
__require libs.bundle.D3DY3IBP.js:10
jQuery
libs.bundle.D3DY3IBP.js:39099

Uncaught TypeError: me.new_node is not a function
click account__tree_js:158
get_toolbar tree.js:299
jQuery 2
dispatch
handle

ERPNext: v13.x.x-develop () (develop)
Frappe Framework: v14.x.x-develop () (develop)

Regards,
MAK

Hello, Are you fixed your issue? why?

Hey, this issue was fixed 2 days ago
You need to pull develop branch in erpnext

Thanks for your interest sir.
How can I do pull. Accept my apologies, I’m new to erpnext :slight_smile:

1 Like

is this will effect on whole my system?

Do a git pull
in erpnext folder/directory

Then do bench migrate
then bench build

It should not affect your system since we not touching the db.

@abhinavxd Thanks :hibiscus:

1 Like

@abhinavxd
I cannot make it
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ root@ip-172-31-23-113:~# su - erpnext
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ ls
apps config env logs patches.txt Procfile sites
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ git pull
fatal: not a git repository (or any of the parent directories): .git
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ fatal: not a git repository (or any of the parent directories): .git^C
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ git init
Initialized empty Git repository in /opt/bench/erpnext/.git/
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=<remote>/<branch> master

erpnext@ip-172-31-23-113:/opt/bench/erpnext$ ^C
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ git remote -v
erpnext@ip-172-31-23-113:/opt/bench/erpnext$ git status
On branch master

No commits yet

Untracked files:
(use “git add …” to include in what will be committed)
.bench.cmd
Procfile
apps/
config/
logs/
patches.txt
sites/

nothing added to commit but untracked files present (use “git add” to track)