Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into discount_accounting_v13

This commit is contained in:
Deepesh Garg 2021-07-21 14:27:05 +05:30
commit 55325ef3a3

View File

@ -101,7 +101,7 @@ def get_products_html_for_website(field_filters=None, attribute_filters=None):
return html
def set_item_group_filters(field_filters):
if 'item_group' in field_filters:
if field_filters is not None and 'item_group' in field_filters:
field_filters['item_group'] = [ig[0] for ig in get_child_groups(field_filters['item_group'])]