Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
22491 มุมมอง

How can I add a custom icon for the button in Odoo10?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi

     You can use this to add custom icon

<button icon="fa-cogs"/>

to add buttons refer these files font-awsome.css and fontawsome-webfont.svg in /addons/web/static/lib/fontawesome

อวตาร
ละทิ้ง

Also you can add custom icons like this,

<button name="test_button" type="object" icon="/module_name/static/src/img/icon_1.png"/>