Merge pull request #4651 from RicardoJohann/patch-4
Update queries.py - Added item_group
This commit is contained in:
commit
2b986d3b02
@ -158,7 +158,7 @@ def tax_account_query(doctype, txt, searchfield, start, page_len, filters):
|
||||
def item_query(doctype, txt, searchfield, start, page_len, filters):
|
||||
conditions = []
|
||||
|
||||
return frappe.db.sql("""select tabItem.name,
|
||||
return frappe.db.sql("""select tabItem.name,tabItem.item_group,
|
||||
if(length(tabItem.item_name) > 40,
|
||||
concat(substr(tabItem.item_name, 1, 40), "..."), item_name) as item_name,
|
||||
if(length(tabItem.description) > 40, \
|
||||
|
Loading…
Reference in New Issue
Block a user