Improvements in product page and its listing
Login page rendered via a template
diff --git a/erpnext/patches/june_2012/cms2.py b/erpnext/patches/june_2012/cms2.py
index 48f0152..08174cb 100644
--- a/erpnext/patches/june_2012/cms2.py
+++ b/erpnext/patches/june_2012/cms2.py
@@ -18,6 +18,12 @@
delete from `tabPage`
where module='Website' and ifnull(web_page, 'No') = 'Yes'""")
+ # change show_in_website value in item table to 0 or 1
+ webnotes.conn.sql("""\
+ update `tabItem`
+ set show_in_website = if(show_in_website = 'Yes', 1, 0)
+ where show_in_website is not null""")
+
def save_pages():
"""save all web pages, blogs to create content"""
import webnotes