fix: closing stock balance report not generating

(cherry picked from commit 47d1c3b5a3)
This commit is contained in:
Rohit Waghchaure
2025-02-05 05:29:23 +05:30
committed by Mergify
parent 8a9d554c32
commit 3f6beebeec
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)