[fix] [minor] merged with master

This commit is contained in:
Nabin Hait
2013-08-26 16:55:42 +05:30
37 changed files with 723 additions and 103 deletions

View File

@@ -76,8 +76,8 @@ class DocType:
def get_new_item_code(doctype, txt, searchfield, start, page_len, filters):
from controllers.queries import get_match_cond
return webnotes.conn.sql("""select name, description from tabItem
return webnotes.conn.sql("""select name, item_name, description from tabItem
where is_stock_item="No" and is_sales_item="Yes"
and name not in (select name from `tabSales BOM`) and %s like %s
%s limit %s, %s""" % (searchfield, "%s",

View File

@@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:42:58",
"docstatus": 0,
"modified": "2013-08-22 15:21:56",
"modified": "2013-08-22 15:43:07",
"modified_by": "Administrator",
"owner": "Administrator"
},