Merge pull request #45722 from frappe/mergify/bp/version-14-hotfix/pr-45721

fix: closing stock balance report not generating (backport #45721)
This commit is contained in:
ruthra kumar
2025-02-05 10:38:34 +05:30
committed by GitHub
2 changed files with 0 additions and 2 deletions

View File

@@ -95,7 +95,6 @@ class ClosingStockBalance(Document):
"item_group": self.item_group,
"warehouse_type": self.warehouse_type,
"include_uom": self.include_uom,
"ignore_closing_balance": 1,
"show_variant_attributes": 1,
"show_stock_ageing_data": 1,
}

View File

@@ -289,7 +289,6 @@ class StockBalanceReport:
.where((sle.docstatus < 2) & (sle.is_cancelled == 0))
.orderby(sle.posting_datetime)
.orderby(sle.creation)
.orderby(sle.actual_qty)
)
query = self.apply_inventory_dimensions_filters(query, sle)