commit | 06c7a7e6601914c36092c4cb1230f39701340ef2 | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchampfaris@users.noreply.github.com> | Tue Jul 23 13:40:40 2019 +0530 |
committer | GitHub <noreply@github.com> | Tue Jul 23 13:40:40 2019 +0530 |
tree | f9fd7fa4e5a8798da26e801a8f698aea0c0e6aac | |
parent | 85d88395ba315ede94320861e882f079a564ab64 [diff] |
fix(website): Remove references to Product Settings.products_a… (#18451) This was accidentally added back in https://github.com/frappe/erpnext/commit/34c551d9a54573e5184bb16831e0baa4e7429dc2#diff-f0a387cdb305471e74e523ecc4e646ac
diff --git a/erpnext/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py index 8fbeac8..cab2116 100644 --- a/erpnext/setup/doctype/item_group/item_group.py +++ b/erpnext/setup/doctype/item_group/item_group.py
@@ -69,8 +69,7 @@ "items": get_product_list_for_group(product_group = self.name, start=start, limit=context.page_length + 1, search=frappe.form_dict.get("search")), "parents": get_parent_item_groups(self.parent_item_group), - "title": self.name, - "products_as_list": cint(frappe.db.get_single_value('Products Settings', 'products_as_list')) + "title": self.name }) if self.slideshow: