问题描述
messages=[]
for orders in purchase_orders:
message = _('Purchase Order %s has been generated for the Product %s ') % \
(orders['purchase_order'],orders['product'] )
messages.append(message)
warning_mess = {
'title': _('Purchase Order Created'),'message': messages
}
return{'warning':warning_mess}
例如: 而不是成功创建的任务:
已为产品 pro1 生成采购订单 P876633 已为产品 apple 生成采购订单 P21e33
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)