condition += get_item_group_condition(pos_profile.get(“name”))
File “apps/posawesome/posawesome/posawesome/api/posapp.py”, line 339, in get_item_group_condition
item_groups = get_item_groups(pos_profile)
File “apps/erpnext/erpnext/accounts/doctype/pos_profile/pos_profile.py”, line 136, in get_item_groups
[“%s” % frappe.db.escape(d.name) for d in get_child_nodes(“Item Group”, data.item_group)]
File “apps/erpnext/erpnext/accounts/doctype/pos_profile/pos_profile.py”, line 143, in get_child_nodes
lft, rgt = frappe.db.get_value(group_type, root, [“lft”, “rgt”])
TypeError: cannot unpack non-iterable NoneType object