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