commit | 1bc8e32f944c7343f876878d63bd06c0ca1766be | [log] [tgz] |
---|---|---|
author | Saurabh <saurabh6790@gmail.com> | Fri Oct 27 17:00:11 2017 +0530 |
committer | GitHub <noreply@github.com> | Fri Oct 27 17:00:11 2017 +0530 |
tree | d51395e78c6e43efe667e4ffa1319cbfc88b004d | |
parent | c83413134d9ad2324343d8595924ee4f107f4465 [diff] | |
parent | 8637e52d4c2e912b98b2ea1faf5a6dc41276afeb [diff] |
Merge pull request #11360 from manassolanki/fix-fee-patch 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