removed extra quote from query
This commit is contained in:
parent
5aee7d1b70
commit
a4af7cb7d3
@ -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)""")
|
||||
|
Loading…
x
Reference in New Issue
Block a user