Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Anand Doshi 2012-12-30 19:59:01 +05:30
commit a5e4fec00d

View File

@ -102,4 +102,5 @@ def get_parent_item_groups(item_group_name):
def invalidate_cache_for(item_group): def invalidate_cache_for(item_group):
for i in get_parent_item_groups(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)