commit | a5e4fec00d64f4ebf1736f4a7b93e68a29ac837d | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Sun Dec 30 19:59:01 2012 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Sun Dec 30 19:59:01 2012 +0530 |
tree | 6e3daeb3c30d22dde897184f55d304f977304b7e | |
parent | 65cef741683a9114492696bb8e82c1b2b725d20d [diff] | |
parent | 833d7a65d578c2874109d656be479e1bfe994272 [diff] |
Merge branch 'master' of github.com:webnotes/erpnext
diff --git a/website/helpers/product.py b/website/helpers/product.py index 1e8257a..623ceee 100644 --- a/website/helpers/product.py +++ b/website/helpers/product.py
@@ -102,4 +102,5 @@ def invalidate_cache_for(item_group): for i in get_parent_item_groups(item_group): - delete_page_cache(i.page_name) \ No newline at end of file + if i.page_name: + delete_page_cache(i.page_name) \ No newline at end of file