Tree View not Working

aftar i update from v8 to
ERPNext: v10.1.36 (master)
Frappe Framework: v10.1.36 (master)

i found another issue at Tree View
i try to open Chart of Account but i cannot see Child Node from the Parent Tree
like this :

Warehouse Tree View also have this same Issue

anyone know how to fix it?

Seems like nestedset model has been broken.

Try running this code from bench console.

import frappe
from frappe.utils.nestedset import rebuild_tree
rebuild_tree("Account", "parent_account")
rebuild_tree("Warehouse", "parent_warehouse")

seem not work for me…
i try to run that code from console and nothing happen

Can you check the browser console to see if there is any error thrown.

To open browser console, right click on the browser and select inspect option. Select Console tab from the opened window.

yah i checked ady, but no error…

when i try to Add Childe from Tree View
i got this error

Traceback (most recent call last):
  File "/home/myme/frappe-bench/apps/frappe/frappe/", line 62, in application
    response = frappe.handler.handle()
  File "/home/myme/frappe-bench/apps/frappe/frappe/", line 22, in handle
    data = execute_cmd(cmd)
  File "/home/myme/frappe-bench/apps/frappe/frappe/", line 53, in execute_cmd
    return, **frappe.form_dict)
  File "/home/myme/frappe-bench/apps/frappe/frappe/", line 939, in call
    return fn(*args, **newargs)
TypeError: get_all_nodes() takes exactly 3 arguments (2 given)