Merge pull request #5406 from nabinhait/patch_fix
[fix] reload gl entry doctype in patch
This commit is contained in:
commit
18f622f3a9
@ -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