Merge pull request #17074 from nabinhait/woocommerce-fix

fix: Woo-commerce fix
This commit is contained in:
Nabin Hait 2019-03-30 19:12:38 +05:30 committed by GitHub
commit 08319cecf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class WoocommerceSettings(Document):
if not frappe.get_value("Item Group",{"name": "WooCommerce Products"}):
item_group = frappe.new_doc("Item Group")
item_group.item_group_name = "WooCommerce Products"
item_group.parent_item_group = "All Item Groups"
item_group.parent_item_group = _("All Item Groups")
item_group.save()