Skip to content

Commit

Permalink
Merge pull request frappe#22459 from britlog/version-11-hotfix
Browse files Browse the repository at this point in the history
fix product_info
  • Loading branch information
rohitwaghchaure committed Jun 26, 2020
2 parents bfe1f1e + d701eea commit 7edffe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/shopping_cart/product_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_product_info_for_website(item_code):

def set_product_info_for_website(item):
"""set product price uom for website"""
product_info = get_product_info_for_website(item.item_code)
product_info = get_product_info_for_website(item.item_code).get("product_info")

if product_info:
item.update(product_info)
Expand Down

0 comments on commit 7edffe2

Please sign in to comment.