mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 23:54:59 +00:00
reload journal entry on patch
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doctype("Journal Entry")
|
||||
frappe.db.sql("""update `tabJournal Entry` set title =
|
||||
if(ifnull(pay_to_recd_from, "")!="", pay_to_recd_from,
|
||||
(select account from `tabJournal Entry Account`
|
||||
|
||||
Reference in New Issue
Block a user