commit | 55325ef3a34288e149105874bbe0460a2af9edd7 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Jul 21 14:27:05 2021 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Wed Jul 21 14:27:05 2021 +0530 |
tree | 5a014ef9fd730058138721cbef4c579b24f7a9ea | |
parent | 4fa409e0194fde280647b31c96a404099cf99eb1 [diff] | |
parent | f60cba28ab25b82bc35d1920a2fa672c1f9c0b90 [diff] |
Merge branch 'version-13-hotfix' of https://github.com/frappe/erpnext into discount_accounting_v13
diff --git a/erpnext/portal/product_configurator/utils.py b/erpnext/portal/product_configurator/utils.py index 211b94a..d60b1a2 100644 --- a/erpnext/portal/product_configurator/utils.py +++ b/erpnext/portal/product_configurator/utils.py
@@ -101,7 +101,7 @@ 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'])]