address now not in dialog, added slideshows in products and groups and removed transaction history from customer / supplier / sales partner
diff --git a/patches/december_2012/address_title.py b/patches/december_2012/address_title.py
new file mode 100644
index 0000000..4467d7a
--- /dev/null
+++ b/patches/december_2012/address_title.py
@@ -0,0 +1,11 @@
+import webnotes
+
+def execute():
+ webnotes.conn.sql("""update tabAddress set address_title = customer_name where ifnull(customer_name,'')!=''""")
+ webnotes.conn.sql("""update tabAddress set address_title = supplier_name where ifnull(supplier_name,'')!=''""")
+ webnotes.conn.sql("""update tabAddress set address_title = sales_partner where ifnull(sales_partner,'')!=''""")
+ webnotes.reset_perms("Product Settings")
+
+ # move code to new doctype
+ webnotes.conn.set_value("Website Script", None, "javascript",
+ webnotes.conn.get_value("Website Settings", None, "startup_code"))
\ No newline at end of file
diff --git a/patches/patch_list.py b/patches/patch_list.py
index 67daf26..32958d7 100644
--- a/patches/patch_list.py
+++ b/patches/patch_list.py
@@ -558,4 +558,8 @@
'patch_module': 'patches.december_2012',
'patch_file': 'rebuild_item_group_tree',
},
+ {
+ 'patch_module': 'patches.december_2012',
+ 'patch_file': 'address_title',
+ },
]
\ No newline at end of file