mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 06:29:20 +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):
|
def set_product_info_for_website(item):
|
||||||
"""set product price uom for website"""
|
"""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:
|
if product_info:
|
||||||
item.update(product_info)
|
item.update(product_info)
|
||||||
|
|||||||
Reference in New Issue
Block a user