mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
reload product settings in address title patch
This commit is contained in:
@@ -5,7 +5,9 @@ def execute():
|
|||||||
|
|
||||||
webnotes.conn.sql("""update tabAddress set address_title = customer_name where ifnull(customer_name,'')!=''""")
|
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 = 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")
|
webnotes.reset_perms("Product Settings")
|
||||||
|
|
||||||
# move code to new doctype
|
# move code to new doctype
|
||||||
|
|||||||
Reference in New Issue
Block a user