commit | 8637e52d4c2e912b98b2ea1faf5a6dc41276afeb | [log] [tgz] |
---|---|---|
author | Manas Solanki <manassolanki@gmail.com> | Fri Oct 27 11:55:15 2017 +0530 |
committer | Manas Solanki <manassolanki@gmail.com> | Fri Oct 27 11:55:15 2017 +0530 |
tree | d2ba3efe70db81672ac8c3a3ce18333d09740f58 | |
parent | 6500af9aa26e6204abe3ec10d7759f7be3f000a8 [diff] |
fix the fee patch
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 fb11ee5..c47137b 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 @@ import frappe def execute(): + frappe.reload_doctype('Fees') if "total_amount" not in frappe.db.get_table_columns("Fees"): return