mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
(cherry picked from commit 7402451b96)
Co-authored-by: Mangesh-Khairnar <mkhairnar10@gmail.com>
This commit is contained in:
@@ -95,10 +95,10 @@ def create_sales_order(shopify_order, shopify_settings, company=None):
|
|||||||
items = get_order_items(shopify_order.get("line_items"), shopify_settings)
|
items = get_order_items(shopify_order.get("line_items"), shopify_settings)
|
||||||
|
|
||||||
if not items:
|
if not items:
|
||||||
message = 'Following items are exists in order but relevant record not found in Product master'
|
message = 'Following items exists in the shopify order but relevant records were not found in the shopify Product master'
|
||||||
message += "\n" + ", ".join(product_not_exists)
|
message += "\n" + ", ".join(product_not_exists)
|
||||||
|
|
||||||
make_shopify_log(status="Error", exception=e, rollback=True)
|
make_shopify_log(status="Error", exception=message, rollback=True)
|
||||||
|
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user