[hotfix] setup wizard is_pro_application if not service

This commit is contained in:
Anand Doshi 2015-10-22 21:56:59 +05:30
parent c6e2c8f79e
commit 58344cbb81

View File

@ -374,6 +374,7 @@ def create_items(args):
is_sales_item = args.get("is_sales_item_" + str(i))
is_purchase_item = args.get("is_purchase_item_" + str(i))
is_stock_item = item_group!=_("Services")
is_pro_applicable = item_group!=_("Services")
default_warehouse = ""
if is_stock_item:
default_warehouse = frappe.db.get_value("Warehouse", filters={