Skip to content

Commit

Permalink
fix product_info
Browse files Browse the repository at this point in the history
  • Loading branch information
britlog committed Jun 25, 2020
1 parent d075399 commit 87f8d66
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 87f8d66

Please sign in to comment.