FA7免费版图标集成 / Font Awesome 7 Integration
Odoo 19 的 Font Awesome 7 Free (7.2.0) 即装即用替换,新增 2000+ 图标,FA4 完美向后兼容 / Drop-in FA7 Free 7.2.0 replacement with 2000+ new icons, full FA4 backward compatible
将 Odoo 原生 Font Awesome 4.7 升级为最新的 FA7 Free 免费版图标库,无需修改一行代码
Upgrade Odoo native FA4.7 to the latest FA7 Free icon library — zero code
changes required
功能概述 / Overview
本模块将 Odoo 19 默认的 Font Awesome 4.7(2016年发布)平滑替换为最新的 Font Awesome 7 Free 7.2.0 免费版,新增超过 2000 个现代图标,同时通过 v4-shims 兼容层确保所有现有 FA4 图标名称继续可用。安装后无需任何配置,即可在后端、前端和 PDF 报表中使用全新的 FA7 图标。
This module seamlessly replaces Odoo 19's default Font Awesome 4.7 (released 2016) with the latest Font Awesome 7 Free 7.2.0, adding 2000+ modern icons while ensuring all existing FA4 icon names continue to work via the v4-shims compatibility layer. After installation, new FA7 icons are available across backend, frontend, and PDF reports with zero configuration.
核心亮点 / Key Highlights
即装即用,全方位升级 Odoo 图标体验 / Drop-in upgrade for Odoo icon experience
1. FA7 Free 7.2.0 集成 / FA7 Free 7.2.0
Latest Free Icon Library
集成最新 FA7 Free 7.2.0 完整 CSS,提供 Solid、Regular、Brands 三种图标风格。
2. FA4 完美向后兼容 / FA4 Backward Compatible
Zero Breaking Changes
内置 v4-shims 兼容层,所有现有 FA4 图标名称(如 fa-user)继续可用,无需修改任何代码。
3. 即装即用零配置 / Drop-in Replacement
Install & Done
安装模块即可生效,Odoo 原生 icon="fa-xxx" 属性自动使用 FA7,无需额外配置。
4. 三端全覆盖 / All Bundles Covered
Backend, Frontend & Reports
同时替换后端、前端和 PDF 报表三个资源包中的 FA4 引用,确保全站图标风格统一。
5. 2000+ 全新图标 / 2000+ New Icons
Massive Icon Library
相比 FA4.7,新增 2000+ 现代图标,如 file-lines、cloud-arrow-up、circle-check 等。
6. 字体与 RTL 修复 / Font & RTL Fix
RTL & Font-Weight Fix
内置 fa7_fix.scss 修复 FA7 与 Odoo icons.scss 的字体粗细冲突,保留 RTL 翻转规则。
完整功能列表 / Complete Feature List
所有技术特性一览 / All technical features at a glance
-
1. 替换 Odoo 默认 FA4.7 为 FA7 Free 7.2.0
Replace Odoo default Font Awesome 4.7 with FA7 Free 7.2.0 -
2. 新增 2000+ 现代图标(fa-file-lines、fa-circle-check 等)
2000+ new modern icons (fa-file-lines, fa-circle-check, etc.) -
3. v4-shims 确保所有 FA4 图标名向后兼容
v4-shims ensures full FA4 icon name backward compatibility -
4. 即装即用,icon="fa-xxx" 属性无需修改
Drop-in replacement — icon="fa-xxx" attribute works out of the box -
5. 覆盖后端(web.assets_backend)资源包
Covers backend bundle (web.assets_backend) -
6. 覆盖前端(web.assets_frontend)资源包
Covers frontend bundle (web.assets_frontend) -
7. 覆盖 PDF 报表(web.report_assets_common)资源包
Covers PDF report bundle (web.report_assets_common) -
8. 支持 Solid、Regular、Brands 三种图标风格
Supports Solid, Regular, and Brands icon styles -
9. fa7_fix.scss 修复 FA7 字体粗细与 Odoo icons.scss 冲突
fa7_fix.scss resolves font-weight conflict between FA7 and Odoo icons.scss -
10. fontawesome_overridden.scss 保留 RTL 翻转规则
fontawesome_overridden.scss preserves RTL flipping rules -
11. v4-font-face.css 映射旧 FontAwesome 字体族到 FA7
v4-font-face.css maps old FontAwesome font family to FA7 fonts -
12. 不修改 Odoo 原生 web 模块代码,安全升级
No modification to native Odoo web module code — safe upgrade -
13. XML icon 属性与 QWeb/HTML class 方式均支持
Supports both XML icon attribute and QWeb/HTML class usage
通用特性 / General Features
多语言与多公司
Multi-Language & Multi-Company
完整的多语言翻译支持,适配全球化企业部署。原生多公司架构,数据严格隔离。
全版本兼容
Full Version Support
支持 Odoo 19,18,17,16,15,14,13,12,EE/CE/.SH,兼容企业版、社区版及在线 SaaS。
代码完全开源
Full Open Source
基于 OPL-1 协议开源,代码透明可审计,支持二次开发与定制。
使用流程 / How It Works
三步完成 FA7 升级 / Three steps to FA7 upgrade
安装模块
Install Module
自动替换
Auto Replacement
即刻使用
Ready to Use
支持与依赖模块 / Supported & Dependent Modules
- Web 基础模块 / Web Base Module
odooai.cn
专业Odoo服务伙伴-开发实施咨询培训全套解决方案 / Professional Odoo Solutions
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 10477 |
| Technical Name |
app_web_fontawesome |
| License | OPL-1 |
| Website | https://www.odooai.cn |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module