fix: woocommerce settings

This commit is contained in:
Nabin Hait 2019-03-30 17:39:23 +05:30
parent 05c8474db3
commit f9f04ed89e

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()