templates cleaner and generation for all pages
This commit is contained in:
9
erpnext/patches/may_2012/cms.py
Normal file
9
erpnext/patches/may_2012/cms.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
from webnotes.model.doclist import DocList
|
||||
import os
|
||||
|
||||
for name in webnotes.conn.sql("""select name from `tabWeb Page` where docstatus=0"""):
|
||||
print name
|
||||
DocList('Web Page', name[0]).save()
|
||||
Reference in New Issue
Block a user