fix: closing stock balance report not generating
(cherry picked from commit 47d1c3b5a3)
This commit is contained in:
committed by
Mergify
parent
8a9d554c32
commit
3f6beebeec
@@ -95,7 +95,6 @@ class ClosingStockBalance(Document):
|
|||||||
"item_group": self.item_group,
|
"item_group": self.item_group,
|
||||||
"warehouse_type": self.warehouse_type,
|
"warehouse_type": self.warehouse_type,
|
||||||
"include_uom": self.include_uom,
|
"include_uom": self.include_uom,
|
||||||
"ignore_closing_balance": 1,
|
|
||||||
"show_variant_attributes": 1,
|
"show_variant_attributes": 1,
|
||||||
"show_stock_ageing_data": 1,
|
"show_stock_ageing_data": 1,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -289,7 +289,6 @@ class StockBalanceReport:
|
|||||||
.where((sle.docstatus < 2) & (sle.is_cancelled == 0))
|
.where((sle.docstatus < 2) & (sle.is_cancelled == 0))
|
||||||
.orderby(sle.posting_datetime)
|
.orderby(sle.posting_datetime)
|
||||||
.orderby(sle.creation)
|
.orderby(sle.creation)
|
||||||
.orderby(sle.actual_qty)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
query = self.apply_inventory_dimensions_filters(query, sle)
|
query = self.apply_inventory_dimensions_filters(query, sle)
|
||||||
|
|||||||
Reference in New Issue
Block a user