From cb7ca6397922ab63f330cc1c891956ca4372c91a Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 24 Apr 2019 11:57:40 +0530 Subject: [PATCH] fix: Item Attribute Order fix --- erpnext/portal/product_configurator/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/portal/product_configurator/utils.py b/erpnext/portal/product_configurator/utils.py index f02212c6a6..43e6fe536f 100644 --- a/erpnext/portal/product_configurator/utils.py +++ b/erpnext/portal/product_configurator/utils.py @@ -173,7 +173,6 @@ def get_attributes_and_values(item_code): valid_attribute_values = valid_options.get(attr.attribute, []) ordered_values = ordered_attribute_value_map.get(attr.attribute, []) attr['values'] = [v for v in ordered_values if v in valid_attribute_values] - attr['values'] = valid_attribute_values return attributes