mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[patch] cleanup_journal_entry
This commit is contained in:
@@ -9,6 +9,6 @@ def execute():
|
|||||||
("Journal Entry", "against_jv"),
|
("Journal Entry", "against_jv"),
|
||||||
("Expense Claim", "against_expense_claim"),
|
("Expense Claim", "against_expense_claim"),
|
||||||
):
|
):
|
||||||
frappe.db.update("""update `tabJournal Entry Detail`
|
frappe.db.sql("""update `tabJournal Entry Detail`
|
||||||
set reference_type=%s and reference_name={0} where ifnull({0}, '') != ''
|
set reference_type=%s and reference_name={0} where ifnull({0}, '') != ''
|
||||||
""".format(fieldname), doctype)
|
""".format(fieldname), doctype)
|
||||||
|
|||||||
Reference in New Issue
Block a user