mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
[fix] don't fetch template item in get items of stock reconciliation
This commit is contained in:
@@ -243,7 +243,7 @@ class StockReconciliation(StockController):
|
||||
@frappe.whitelist()
|
||||
def get_items(warehouse, posting_date, posting_time):
|
||||
items = frappe.get_list("Item", fields=["name"], filters=
|
||||
{"is_stock_item": 1, "has_serial_no": 0, "has_batch_no": 0})
|
||||
{"is_stock_item": 1, "has_serial_no": 0, "has_batch_no": 0, "has_variants": 0})
|
||||
for item in items:
|
||||
item.item_code = item.name
|
||||
item.warehouse = warehouse
|
||||
|
||||
Reference in New Issue
Block a user