From ee2d108bef460437cd35bac53749cb9196a4ad39 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 20 Feb 2024 18:40:39 +0530 Subject: [PATCH] fix: removed unwanted patch (cherry picked from commit 85471533e9fa59b76d81613fad242e5365cbc9f7) --- erpnext/patches.txt | 1 - .../patches/v15_0/delete_orphaned_asset_movement_item_records.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches.txt b/erpnext/patches.txt index 56fdfcc036..b93b6cf769 100644 --- a/erpnext/patches.txt +++ b/erpnext/patches.txt @@ -355,5 +355,4 @@ erpnext.patches.v14_0.update_total_asset_cost_field erpnext.patches.v14_0.migrate_gl_to_payment_ledger erpnext.stock.doctype.delivery_note.patches.drop_unused_return_against_index # 2023-12-20 erpnext.patches.v14_0.set_maintain_stock_for_bom_item -erpnext.patches.v15_0.set_difference_amount_in_asset_value_adjustment erpnext.patches.v15_0.delete_orphaned_asset_movement_item_records \ No newline at end of file diff --git a/erpnext/patches/v15_0/delete_orphaned_asset_movement_item_records.py b/erpnext/patches/v15_0/delete_orphaned_asset_movement_item_records.py index 910504ed23..a1d7dc9b3d 100644 --- a/erpnext/patches/v15_0/delete_orphaned_asset_movement_item_records.py +++ b/erpnext/patches/v15_0/delete_orphaned_asset_movement_item_records.py @@ -2,6 +2,7 @@ import frappe def execute(): + # nosemgrep frappe.db.sql( """ DELETE FROM `tabAsset Movement Item`