From 79e04ea1feb2245e5ad23c96496cac4d2df2856c Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Mon, 19 Jan 2026 14:22:32 +0530 Subject: [PATCH] chore: fix semantic commit message (cherry picked from commit dfcbee9cc0a2ac64409784276695187caaf54198) --- .../serial_and_batch_bundle/serial_and_batch_bundle.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py index ff247d00d90..fce52748283 100644 --- a/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py +++ b/erpnext/stock/doctype/serial_and_batch_bundle/serial_and_batch_bundle.py @@ -12,7 +12,7 @@ import frappe.query_builder.functions from frappe import _, _dict, bold from frappe.model.document import Document from frappe.model.naming import make_autoname -from frappe.query_builder.functions import Sum, Concat_ws, Locate +from frappe.query_builder.functions import Concat_ws, Locate, Sum from frappe.utils import ( cint, cstr, @@ -2987,10 +2987,9 @@ def get_ledgers_from_serial_batch_bundle(**kwargs) -> list[frappe._dict]: def get_stock_ledgers_for_serial_nos(kwargs): """ Fetch stock ledger entries based on various filters. - - :param kwargs: etch stock ledger entries based on filters like posting_datetime, creation, warehouse, item_code, serial_nos, ignore_voucher_detail_no, voucher_no. Joining with Serial and Batch Entry table to filter based on serial numbers. + :param kwargs: Filters including posting_datetime, creation, warehouse, item_code, serial_nos, ignore_voucher_detail_no, voucher_no. Joins with Serial and Batch Entry table to filter based on serial numbers. :return: List of stock ledger entries as dictionaries. - :rtype: Dictionary + :rtype: list[dict] """ stock_ledger_entry = frappe.qb.DocType("Stock Ledger Entry")