[fix] [minor] fixes in old patch
This commit is contained in:
parent
6656acff52
commit
16447005bf
@ -10,9 +10,6 @@ def execute():
|
|||||||
webnotes.conn.sql("""update tabAddress set address_title = supplier_name where ifnull(supplier_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.conn.sql("""update tabAddress set address_title = sales_partner where ifnull(sales_partner,'')!=''""")
|
||||||
|
|
||||||
webnotes.reload_doc("website", "doctype", "product_settings")
|
|
||||||
webnotes.reset_perms("Product Settings")
|
|
||||||
|
|
||||||
# move code to new doctype
|
# move code to new doctype
|
||||||
webnotes.conn.set_value("Website Script", None, "javascript",
|
webnotes.conn.set_value("Website Script", None, "javascript",
|
||||||
webnotes.conn.get_value("Website Settings", None, "startup_code"))
|
webnotes.conn.get_value("Website Settings", None, "startup_code"))
|
Loading…
x
Reference in New Issue
Block a user