在tree视图“导入”按钮后面增加一个按钮 点我下载完整odoo的demo js文件 在模块下面增加一个js文件,test_button.js 内容如下: odoo.define('my_first_app.course.tree.button', function (require