fix: closing stock balance report not generating

This commit is contained in:
Rohit Waghchaure
2025-02-05 05:29:23 +05:30
parent a11aee3ab3
commit 47d1c3b5a3
2 changed files with 0 additions and 2 deletions

View File

@@ -116,7 +116,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

@@ -317,7 +317,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)