mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-25 09:38:31 +00:00
fix: py error on stock ageing report (#54467)
This commit is contained in:
@@ -617,5 +617,5 @@ class FIFOSlots:
|
||||
sr_item = frappe.db.get_value(
|
||||
"Stock Reconciliation Item", row.voucher_detail_no, ["current_qty", "qty"], as_dict=True
|
||||
)
|
||||
if sr_item.qty and sr_item.current_qty:
|
||||
if sr_item and sr_item.qty and sr_item.current_qty:
|
||||
self.stock_reco_voucher_wise_count[row.voucher_detail_no] = sr_item.current_qty
|
||||
|
||||
Reference in New Issue
Block a user