mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
[cleanup] #402 changed fieldname company_name to company in Cost Center
This commit is contained in:
6
patches/july_2013/p03_cost_center_company.py
Normal file
6
patches/july_2013/p03_cost_center_company.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("accounts", "doctype", "cost_center")
|
||||
webnotes.conn.sql("""update `tabCost Center` set company=company_name""")
|
||||
webnotes.conn.sql_ddl("""alter table `tabCost Center` drop column company_name""")
|
||||
Reference in New Issue
Block a user