fix: stock ledgre report not working
This commit is contained in:
parent
7e67a400cd
commit
267723f57b
@ -113,7 +113,7 @@ def get_item_details(items, sl_entries, include_uom):
|
||||
cf_join = "left join `tabUOM Conversion Detail` ucd on ucd.parent=item.name and ucd.uom='%s'" \
|
||||
% frappe.db.escape(include_uom)
|
||||
|
||||
item_codes = ', '.join(['"' + frappe.db.escape(i, percent=False) + '"' for i in items])
|
||||
item_codes = ', '.join([frappe.db.escape(i, percent=False) for i in items])
|
||||
res = frappe.db.sql("""
|
||||
select
|
||||
item.name, item.item_name, item.description, item.item_group, item.brand, item.stock_uom {cf_field}
|
||||
|
Loading…
Reference in New Issue
Block a user