tree/form视图设置⾃自定义按钮 ⾃自定义按钮标签buttonspack isAdancedBtn * false 默认 * true 1</buttonspack> 默认按钮的控制 \1. 新建 create \2. 复制 copy \3. 导出全部 exportAll 4. 删除 delete \5. 导出 export_xlsx 6. 导⼊入 import 按钮分组 buttongroup 按钮 button 1.string: 分组显示 2.isBatch: 是否批量量操作 \1. type: 类型 * object * tag \2. isBatch: 是否批量量操作 * false 默认 \4. name: ⽅方法名/ir.actions.act_window对应的id 5. string: 显示 \6. attrs: 参数 按钮数据格式 [ { 12"tag":"buttongroup","attrs":{ “string”:”新建”, “isBatch”:”false”, “condition”:”readonly”, “accesskey”:”createGroup”, “btnId”:”advantedBtn_33” 1234},"children":[ { "tag":"button", “attrs”:{ “string”:”新建”, 12345"isBatch":"false","type":"event","accesskey":"create","class":"","btnId":"advantedBtn_34" } }, 12{ "tag":"button", “attrs”:{ “string”:”复制”, 12345"isBatch":"false","type":"event", "accesskey":"copy", "class":"", "btnId":"advantedBtn_35" } } ] }, 12{ "tag":"button", “attrs”:{ “string”:”保存”, 1234"isBatch":"false","type":"event","condition":"edit","class":"" } }, 12{ "tag":"button", “attrs”:{ “string”:”取消”, 1234"isBatch":"false","type":"event","condition":"edit","class":"" } }, 12{ "tag":"button", “attrs”:{ “string”:”导出全部”, “isBatch”:”false”, “type”:”event”, “condition”:”readonly”, “accesskey”:”exportAll”, “btnId”:”advantedBtn_36” } }, 12{ "tag":"button", “attrs”:{ “name”:”do_toggle_done”, “type”:”object”, “string”:”前后交互按钮”, “isBatch”:”false”, 12345678"modifiers":{ }, "options":{ }, "tag":"button", "btnId":"advantedBtn_37" }, "children":[ ] }, 12{ "tag":"button", “attrs”:{ “name”:”action_server_forbid”, “type”:”object”, “string”:”动作”, “isBatch”:”false”, “modifiers”:{ 1234567 }, "options":{ }, "tag":"button", "btnId":"advantedBtn_38"},"children":[ ] } ]