04-10-2020, 07:43 PM
I realized one way around this is to do the following but still interested to know if there is a way to address the above issue
order_expr = "@SOBJECT(msm/wp_orders['Order Status', 'Processing'])"
order_list = server.eval(order_expr)
email_list = []
for order in order_list:
email_list.append(order.get("Email Billing"))
email_html = ",".join(email_list)
order_expr = "@SOBJECT(msm/wp_orders['Order Status', 'Processing'])"
order_list = server.eval(order_expr)
email_list = []
for order in order_list:
email_list.append(order.get("Email Billing"))
email_html = ",".join(email_list)