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).
file_binary = fields.Binary(string=u'文件', attachment=True, )
怎样获取选择的文件名称
@like_odoo 你在视图上多加一个字段,然后file_binary字段添上filename="字段名",就可以自动获取了
我重写的 Widget