From 683cdc0db827b20cefdf63dac909977ab8f635de Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 22 Jan 2013 12:43:49 +0530 Subject: [PATCH] sync before running clear web cache patch --- patches/december_2012/clear_web_cache.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patches/december_2012/clear_web_cache.py b/patches/december_2012/clear_web_cache.py index da71492814..f67fb29d21 100644 --- a/patches/december_2012/clear_web_cache.py +++ b/patches/december_2012/clear_web_cache.py @@ -1,5 +1,10 @@ import webnotes def execute(): + webnotes.reload_doc("website", "doctype", "web_page") + webnotes.reload_doc("website", "doctype", "blog") + webnotes.reload_doc("stock", "doctype", "item") + webnotes.reload_doc("stock", "doctype", "item_group") + # build wn-web.js and wn-web.css from website.helpers.make_web_include_files import make make()