Merge pull request #15391 from pratu16x7/hub-patch-fix

[patch][fix] remove hub node module removing code
This commit is contained in:
Prateeksha Singh 2018-09-12 17:00:12 +05:30 committed by GitHub
commit 31f2caf51e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -563,4 +563,4 @@ erpnext.patches.v10_0.set_discount_amount
erpnext.patches.v10_0.recalculate_gross_margin_for_project erpnext.patches.v10_0.recalculate_gross_margin_for_project
erpnext.patches.v11_0.make_job_card erpnext.patches.v11_0.make_job_card
erpnext.patches.v11_0.redesign_healthcare_billing_work_flow 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

View File

@ -13,5 +13,3 @@ def execute():
for m in plan_doc.get("mappings"): for m in plan_doc.get("mappings"):
frappe.delete_doc("Data Migration Mapping", m.mapping, force=True) frappe.delete_doc("Data Migration Mapping", m.mapping, force=True)
frappe.delete_doc("Data Migration Plan", plan.name) frappe.delete_doc("Data Migration Plan", plan.name)
frappe.delete_doc("Module Def", "Hub Node", ignore_missing=True)