mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-10 22:06:52 +00:00
Merge pull request #23440 from legendleap/version-12-hotfox-itemcode
fix: include item_code in items result to allow adding product info in custom templates
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user