mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
9 lines
323 B
Python
9 lines
323 B
Python
import webnotes
|
|
|
|
def execute():
|
|
webnotes.reload_doc("Accounts", "DocType", "Sales Taxes and Charges")
|
|
webnotes.conn.sql("""update `tabSales Taxes and Charges`
|
|
set cost_center = cost_center_other_charges""")
|
|
webnotes.conn.sql_ddl("""alter table `tabSales Taxes and Charges`
|
|
drop column cost_center_other_charges""")
|
|
|