[hotfix] item group set_parent_website_route
diff --git a/erpnext/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py
index aea3670..831095d 100644
--- a/erpnext/setup/doctype/item_group/item_group.py
+++ b/erpnext/setup/doctype/item_group/item_group.py
@@ -41,9 +41,8 @@
Only set `parent_website_route` if parent is visble.
e.g. If `show_in_website` is set for Products then url should be `/products`"""
- if self.parent_item_group and frappe.db.get_value("Item Group",
- self.parent_item_group, "show_in_website"):
- super(WebsiteGenerator, self)()
+ if self.parent_item_group and frappe.db.get_value("Item Group", self.parent_item_group, "show_in_website"):
+ WebsiteGenerator.set_parent_website_route(self)
else:
self.parent_website_route = ""