[minor] fix setup wizard buying_items query

This commit is contained in:
Rushabh Mehta 2015-08-24 14:23:55 +05:30
parent c8a5a2cc4a
commit d999dd1bb9

View File

@ -12,7 +12,7 @@ def make_sample_data():
to help the user get started"""
selling_items = frappe.get_all("Item", filters = {"is_sales_item": 1})
buying_items = frappe.get_all("Item", filters = {"is_sales_item": 0})
buying_items = frappe.get_all("Item", filters = {"is_purchase_item": 1})
if selling_items:
for i in range(3):