odoo 返回成功提示信息
在调用方法结束后返回该字典信息.
return {
'warning': {
'title': '产品不存在',
'message': '产品不存在,产品编码:{}'.format(barcode)
}}
笑哭,只能用在onchange事件中
本文来自博客园,作者:那时一个人,转载请注明原文链接:https://www.cnblogs.com/qianxunman/p/12358031.html
return {
'warning': {
'title': '产品不存在',
'message': '产品不存在,产品编码:{}'.format(barcode)
}}
笑哭,只能用在onchange事件中
本文来自博客园,作者:那时一个人,转载请注明原文链接:https://www.cnblogs.com/qianxunman/p/12358031.html