[hotfix] setup wizard is_pro_application if not service

This commit is contained in:
Anand Doshi 2015-10-22 22:02:07 +05:30
parent 0b59d1c78b
commit 9a2a6d8fcb

View File

@ -392,6 +392,7 @@ def create_items(args):
"is_purchase_item": 1 if is_purchase_item else 0,
"show_in_website": 1,
"is_stock_item": is_stock_item and 1 or 0,
"is_pro_applicable": is_pro_applicable and 1 or 0,
"item_group": item_group,
"stock_uom": args.get("item_uom_" + str(i)),
"default_warehouse": default_warehouse