mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 13:49:13 +00:00
8 lines
172 B
Python
8 lines
172 B
Python
import frappe
|
|
from frappe.utils.nestedset import rebuild_tree
|
|
|
|
|
|
def execute():
|
|
frappe.reload_doc("setup", "doctype", "company")
|
|
rebuild_tree("Company", "parent_company")
|