brotherton-erpnext/erpnext/patches/may_2012/cms.py
2012-05-22 17:21:24 +05:30

12 lines
216 B
Python

import webnotes
def execute():
from webnotes.model.code import get_obj
# rewrite pages
get_obj('Website Settings').rewrite_pages()
ss = get_obj('Style Settings')
ss.validate()
ss.doc.save()
ss.on_update()