From 832fa2e76ba802b2a2f15a400d9d62a3b7c728b1 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 13 Aug 2015 11:54:04 +0530 Subject: [PATCH] [patch] cleanup_journal_entry --- erpnext/patches/v5_4/cleanup_journal_entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v5_4/cleanup_journal_entry.py b/erpnext/patches/v5_4/cleanup_journal_entry.py index 9d493eab05..3ae226b383 100644 --- a/erpnext/patches/v5_4/cleanup_journal_entry.py +++ b/erpnext/patches/v5_4/cleanup_journal_entry.py @@ -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)