mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
stock_values_on append function on string
This commit is contained in:
@@ -56,7 +56,7 @@ def get_stock_value_on(warehouse=None, posting_date=None, item_code=None):
|
||||
|
||||
if item_code:
|
||||
values.append(item_code)
|
||||
condition.append(" AND item_code = %s")
|
||||
condition += " AND item_code = %s"
|
||||
|
||||
stock_ledger_entries = frappe.db.sql("""
|
||||
SELECT item_code, stock_value, name, warehouse
|
||||
|
||||
Reference in New Issue
Block a user