From 5ba14fe6858d2c44df6a1e5776a0f03c4b650d68 Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Wed, 12 Sep 2018 16:59:17 +0530 Subject: [PATCH] [patch][fix] remove hub node module removing code --- erpnext/patches.txt | 2 +- erpnext/patches/v10_0/delete_hub_documents.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 207719f234..b3f8f102b1 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -563,4 +563,4 @@ erpnext.patches.v10_0.set_discount_amount erpnext.patches.v10_0.recalculate_gross_margin_for_project erpnext.patches.v11_0.make_job_card erpnext.patches.v11_0.redesign_healthcare_billing_work_flow -erpnext.patches.v10_0.delete_hub_documents +erpnext.patches.v10_0.delete_hub_documents # 12-08-2018 diff --git a/erpnext/patches/v10_0/delete_hub_documents.py b/erpnext/patches/v10_0/delete_hub_documents.py index 0d81bd5263..9e293d3d57 100644 --- a/erpnext/patches/v10_0/delete_hub_documents.py +++ b/erpnext/patches/v10_0/delete_hub_documents.py @@ -13,5 +13,3 @@ def execute(): for m in plan_doc.get("mappings"): frappe.delete_doc("Data Migration Mapping", m.mapping, force=True) frappe.delete_doc("Data Migration Plan", plan.name) - - frappe.delete_doc("Module Def", "Hub Node", ignore_missing=True)