sync before running clear web cache patch

This commit is contained in:
Anand Doshi 2013-01-22 12:43:49 +05:30
parent 2d46e1e826
commit 683cdc0db8

View File

@ -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()