commit | 35f94dfbc6c4849d905ffa359ee675b9a677de16 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Thu Aug 13 12:10:21 2015 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Thu Aug 13 13:38:21 2015 +0530 |
tree | 71cdf81184e10f97e1f8851c5db6ff5f18de4a8c | |
parent | 832fa2e76ba802b2a2f15a400d9d62a3b7c728b1 [diff] |
[patch] cleanup_journal_entry
diff --git a/erpnext/patches/v5_4/cleanup_journal_entry.py b/erpnext/patches/v5_4/cleanup_journal_entry.py index 3ae226b..5de17c7 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"),