feat: creating stock entry against purchase receipt

This commit is contained in:
Anurag Mishra
2019-06-14 12:11:23 +05:30
parent 0d50523723
commit 4c1639305f
6 changed files with 54 additions and 15 deletions

View File

@@ -152,9 +152,6 @@ def tax_account_query(doctype, txt, searchfield, start, page_len, filters):
def item_query(doctype, txt, searchfield, start, page_len, filters, as_dict=False):
conditions = []
if not filters["item_group"]:
filters.pop("item_group", None)
description_cond = ''
if frappe.db.count('Item', cache=True) < 50000:
# scan description only if items are less than 50000