mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 11:44:11 +00:00
fix: linter issue
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.db.sql("""
|
# nosemgrep
|
||||||
|
frappe.db.sql(
|
||||||
|
"""
|
||||||
DELETE FROM `tabAsset Movement Item`
|
DELETE FROM `tabAsset Movement Item`
|
||||||
WHERE parent NOT IN (SELECT name FROM `tabAsset Movement`)
|
WHERE parent NOT IN (SELECT name FROM `tabAsset Movement`)
|
||||||
""")
|
"""
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user