Skip to content

Commit

Permalink
fix(ecommerce): remove query to non-existing field (backport #31771) (#…
Browse files Browse the repository at this point in the history
…31773)

fix(ecommerce): remove query to non-existing field (#31771)

(cherry picked from commit 17b9bfd)

Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
mergify[bot] and ankush authored Aug 3, 2022
1 parent 2defb89 commit 8737c10
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions erpnext/setup/doctype/item_group/item_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ def get_item_for_list_in_html(context):
if (context.get("website_image") or "").startswith("files/"):
context["website_image"] = "/" + quote(context["website_image"])

context["show_availability_status"] = cint(
frappe.db.get_single_value("E Commerce Settings", "show_availability_status")
)

products_template = "templates/includes/products_as_list.html"

return frappe.get_template(products_template).render(context)
Expand Down

0 comments on commit 8737c10

Please sign in to comment.