mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
[minor] fix setup wizard buying_items query
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user