How can I add a custom icon for the button in Odoo10?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
22412
瀏覽次數
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"/>