From adf1e487e1ecb9ae1e85cb08654eeb105f982ac8 Mon Sep 17 00:00:00 2001 From: Khushi Rawat <142375893+khushi8112@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:27:37 +0530 Subject: [PATCH] chore: resolved linter warnings with #nosemgrep --- .../asset_depreciations_and_balances.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py b/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py index 4a6318382cc..34cced2ca17 100644 --- a/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py +++ b/erpnext/accounts/report/asset_depreciations_and_balances/asset_depreciations_and_balances.py @@ -134,6 +134,8 @@ def get_asset_details_for_grouped_by_category(filters): condition += " and name = %(asset)s" if filters.get("finance_book"): condition += " and exists (select 1 from `tabAsset Depreciation Schedule` ads where ads.asset = `tabAsset`.name and ads.finance_book = %(finance_book)s)" + + # nosemgrep return frappe.db.sql( f""" SELECT name,