mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 22:06:52 +00:00
removed extra quote from query
This commit is contained in:
@@ -5,7 +5,7 @@ from __future__ import unicode_literals
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
doctypes = frappe.db.sql_list(""""select parent from tabDocField where fieldname = 'in_words'""")
|
||||
doctypes = frappe.db.sql_list("""select parent from tabDocField where fieldname = 'in_words'""")
|
||||
|
||||
for dt in doctypes:
|
||||
for fieldname in ("in_words", "base_in_words"):
|
||||
@@ -13,4 +13,4 @@ def execute():
|
||||
.format(dt, fieldname, fieldname))
|
||||
|
||||
frappe.db.sql("""alter table `tabJournal Entry`
|
||||
change column `total_amount_in_words` `total_amount_in_words` varchar(255)""")
|
||||
change column `total_amount_in_words` `total_amount_in_words` varchar(255)""")
|
||||
|
||||
Reference in New Issue
Block a user