commit | 776ff2f75da07808e6a2cecba3890b6e4737440f | [log] [tgz] |
---|---|---|
author | Shivam Mishra <scmmishra@users.noreply.github.com> | Tue Nov 19 14:51:25 2019 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Tue Nov 19 14:51:25 2019 +0530 |
tree | 86b3e6b18c4664761a5df9f213287dd78cd2e4bb | |
parent | f3ecfd8e5803e976de8966014b2857bd25db11ec [diff] |
fix: query for item group listing (#19604)
diff --git a/erpnext/setup/doctype/item_group/item_group.py b/erpnext/setup/doctype/item_group/item_group.py index 5603f17..f78246f 100644 --- a/erpnext/setup/doctype/item_group/item_group.py +++ b/erpnext/setup/doctype/item_group/item_group.py
@@ -136,6 +136,7 @@ fields = ['name', 'route', 'description', 'image'], filters = dict( show_in_website = 1, + parent_item_group = item_group.name, lft = ('>', item_group.lft), rgt = ('<', item_group.rgt), ),