mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
address now not in dialog, added slideshows in products and groups and removed transaction history from customer / supplier / sales partner
This commit is contained in:
11
patches/december_2012/address_title.py
Normal file
11
patches/december_2012/address_title.py
Normal file
@@ -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"))
|
||||
@@ -558,4 +558,8 @@ patch_list = [
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'rebuild_item_group_tree',
|
||||
},
|
||||
{
|
||||
'patch_module': 'patches.december_2012',
|
||||
'patch_file': 'address_title',
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user