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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
22448
Lượt xem
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"/>
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký