From 7e4b93f48ea66c22af90ff8c835b29f3d375d0c5 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 13 Aug 2015 12:10:21 +0530 Subject: [PATCH] [patch] cleanup_journal_entry --- erpnext/patches/v5_4/cleanup_journal_entry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v5_4/cleanup_journal_entry.py b/erpnext/patches/v5_4/cleanup_journal_entry.py index 3ae226b383..5de17c7325 100644 --- a/erpnext/patches/v5_4/cleanup_journal_entry.py +++ b/erpnext/patches/v5_4/cleanup_journal_entry.py @@ -1,6 +1,7 @@ import frappe def execute(): + frappe.reload_doctype("Journal Entry") for doctype, fieldname in ( ("Sales Order", "against_sales_order"), ("Purchase Order", "against_purchase_order"),