[fix] reload gl entry doctype in patch
This commit is contained in:
parent
5b7f6300c8
commit
a60ceba6d4
@ -1,6 +1,8 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doctype("GL Entry")
|
||||||
|
|
||||||
for doctype in ("Delivery Note", "Sales Invoice", "Stock Entry"):
|
for doctype in ("Delivery Note", "Sales Invoice", "Stock Entry"):
|
||||||
frappe.db.sql("""
|
frappe.db.sql("""
|
||||||
update `tabGL Entry` gle, `tab{0}` dt
|
update `tabGL Entry` gle, `tab{0}` dt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user