mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
added patch
This commit is contained in:
8
patches/january_2013/rebuild_tree.py
Normal file
8
patches/january_2013/rebuild_tree.py
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
def execute():
|
||||||
|
from webnotes.utils.nestedset import rebuild_tree
|
||||||
|
|
||||||
|
rebuild_tree("Item Group", "parent_item_group")
|
||||||
|
rebuild_tree("Customer Group", "parent_customer_group")
|
||||||
|
rebuild_tree("Territory", "parent_territory")
|
||||||
|
rebuild_tree("Sales Person", "parent_sales_person")
|
||||||
Reference in New Issue
Block a user