mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-05 22:48:27 +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()
|
@frappe.whitelist()
|
||||||
def get_items(warehouse, posting_date, posting_time):
|
def get_items(warehouse, posting_date, posting_time):
|
||||||
items = frappe.get_list("Item", fields=["name"], filters=
|
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:
|
for item in items:
|
||||||
item.item_code = item.name
|
item.item_code = item.name
|
||||||
item.warehouse = warehouse
|
item.warehouse = warehouse
|
||||||
|
|||||||
Reference in New Issue
Block a user