[minor] fix setup wizard buying_items query
This commit is contained in:
parent
c8a5a2cc4a
commit
d999dd1bb9
@ -12,7 +12,7 @@ def make_sample_data():
|
|||||||
to help the user get started"""
|
to help the user get started"""
|
||||||
|
|
||||||
selling_items = frappe.get_all("Item", filters = {"is_sales_item": 1})
|
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:
|
if selling_items:
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user