2019-01-22 18:22:20 +05:30
|
|
|
from __future__ import unicode_literals
|
2018-04-18 10:52:07 +05:30
|
|
|
import frappe
|
|
|
|
from frappe.utils.nestedset import rebuild_tree
|
|
|
|
|
|
|
|
def execute():
|
|
|
|
frappe.reload_doc("setup", "doctype", "company")
|
|
|
|
rebuild_tree('Company', 'parent_company')
|