[patch] cleanup_journal_entry

This commit is contained in:
Rushabh Mehta 2015-08-13 11:54:04 +05:30
parent f738b951c5
commit b01cc1b449

View File

@ -9,6 +9,6 @@ def execute():
("Journal Entry", "against_jv"),
("Expense Claim", "against_expense_claim"),
):
frappe.db.sql("""update `tabJournal Entry Detail`
frappe.db.sql("""update `tabJournal Entry Account`
set reference_type=%s and reference_name={0} where ifnull({0}, '') != ''
""".format(fieldname), doctype)