mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
fix product_info
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user