mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 05:28:27 +00:00
small fixes in product caching
This commit is contained in:
@@ -102,4 +102,5 @@ def get_parent_item_groups(item_group_name):
|
||||
|
||||
def invalidate_cache_for(item_group):
|
||||
for i in get_parent_item_groups(item_group):
|
||||
delete_page_cache(i.page_name)
|
||||
if i.page_name:
|
||||
delete_page_cache(i.page_name)
|
||||
Reference in New Issue
Block a user