ツリー ビューのボタンにアイコンを追加する必要があります
<button name="gen_link" type="object" icon="/custom_module/static/src/img/image.png" string="MyButton"/>
しかし、ブラウザで要素を調べると、それが表示されます
<button type="button" class="" title="MyButton">
<img alt="MyButton" src="http://localhost:8000/web/static/src/img/icons//custom_module/static/src/img/image.png.png">
</button>
デフォルトでは、常にデフォルト パスを使用します。アイコンにカスタム パスを指定することはできません。
なにか提案を。. .