Merge pull request #5406 from nabinhait/patch_fix

[fix] reload gl entry doctype in patch
This commit is contained in:
Nabin Hait 2016-05-27 12:44:54 +05:30
commit 18f622f3a9

View File

@ -1,6 +1,8 @@
import frappe
def execute():
frappe.reload_doctype("GL Entry")
for doctype in ("Delivery Note", "Sales Invoice", "Stock Entry"):
frappe.db.sql("""
update `tabGL Entry` gle, `tab{0}` dt