From 8637e52d4c2e912b98b2ea1faf5a6dc41276afeb Mon Sep 17 00:00:00 2001 From: Manas Solanki Date: Fri, 27 Oct 2017 11:55:15 +0530 Subject: [PATCH] fix the fee patch --- erpnext/patches/v9_0/copy_old_fees_field_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/patches/v9_0/copy_old_fees_field_data.py b/erpnext/patches/v9_0/copy_old_fees_field_data.py index fb11ee5a56..c47137bc91 100644 --- a/erpnext/patches/v9_0/copy_old_fees_field_data.py +++ b/erpnext/patches/v9_0/copy_old_fees_field_data.py @@ -5,6 +5,7 @@ from __future__ import unicode_literals import frappe def execute(): + frappe.reload_doctype('Fees') if "total_amount" not in frappe.db.get_table_columns("Fees"): return