include item_code in query result

This commit is contained in:
Oliver Liu
2020-09-28 02:24:31 +02:00
parent 968cb60010
commit 572ee8b152

View File

@@ -375,7 +375,7 @@ def get_items(filters=None, search=None):
results = frappe.db.sql('''
SELECT
`tabItem`.`name`, `tabItem`.`item_name`,
`tabItem`.`name`, `tabItem`.`item_name`, `tabItem`.`item_code`,
`tabItem`.`website_image`, `tabItem`.`image`,
`tabItem`.`web_long_description`, `tabItem`.`description`,
`tabItem`.`route`