Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在编写用户输入数据程序时,会对用户的错误输入进行提示,在openerp中是这样实现的: warning={} warning={ 'title':'提示', 'message':'你的输入有借误,请重新输入!' } ... ... return {'value':val,'warning':warning} 在 /addons/sale/sale.py 中有关于此的更多示例.
谢谢分享,昨天还在想了解这个知识点……
不好意思,我想知道如何开发或者编辑一个提醒功能:例如,customer A有要求不合并多个sale orders在一张invoice下,并且有特殊的invoice message。在把sale order validate成Proforma/invoice时,能提醒上述的特殊要求来确认修改,选择确认或者返回修改.....谢谢~