blob: 4cc311862ff14c20986ac704f34605d1fe6719e9 [file] [log] [blame]
Rushabh Mehtae67d1fb2013-08-05 14:59:54 +05301# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
2# License: GNU General Public License v3. See license.txt
3
Rushabh Mehta987159f2013-01-25 15:12:04 +05304from __future__ import unicode_literals
5def execute():
6 from webnotes.utils.nestedset import rebuild_tree
7
8 rebuild_tree("Item Group", "parent_item_group")
9 rebuild_tree("Customer Group", "parent_customer_group")
10 rebuild_tree("Territory", "parent_territory")
11 rebuild_tree("Sales Person", "parent_sales_person")