8000 [18.0][MIG] base_fontawesome: Migration to 18.0 by ByteMeAsap · Pull Request #3282 · OCA/server-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[18.0][MIG] base_fontawesome: Migration to 18.0 #3282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
95a4aa0
[add] base_fontawesome (#866)
simahawk Oct 6, 2017
601145f
[MIG][10.0] base_fontawesome
simahawk Oct 6, 2017
15c0500
[MIG] base_fontawesome: Migration to 11.0
etobella Sep 19, 2018
497ab7b
Added translation using Weblate (Spanish)
etobella Nov 13, 2018
62d6c4a
Upgrade to FontAwesome 5.5.0
Dec 5, 2018
7c45838
Update to version 5.7.1
Feb 5, 2019
48930fd
[MIG] base_Fontawesome
etobella May 29, 2019
3e1d232
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Aug 31, 2019
c604695
[IMP] base_fontawesome: black, isort, prettier
tonygalmiche May 24, 2020
cd638fb
[MIG] base_fontawesome: Migration to 13.0
tonygalmiche May 24, 2020
61e0406
[IMP] base_fontawesome: black, isort, prettier
olgamarcocb May 20, 2022
d8cc7e6
[MIG] base_fontawesome: Migration to 15.0
olgamarcocb May 20, 2022
ba7321d
Added translation using Weblate (Spanish (Argentina))
ibuioli Sep 4, 2022
105bc80
[PORT][V16.0] base_fontawesome : migration from 15.0 to 16.0
legalsylvain Nov 14, 2022
07660a5
Update translation files
weblate Dec 5, 2022 < 8000 /span>
89fb69d
[FIX] base_fontawesome: fixed replace files to show icons in website
Pablocce Oct 25, 2023
660cecb
[FIX] base_fontawesome: brands
danielduqma Oct 25, 2023
793a77b
Added translation using Weblate (Italian)
mymage Jan 2, 2024
fe73b85
[UPD] Upgrade to FontAwesome 6.5.1
Dec 6, 2023
f0294a6
[15.0][FIX] Missing fontawesome icons in some browsers
Feb 8, 2024
9493b75
[16.0][FIX] base_fontawesome: remove old font-face
Abranes Feb 12, 2024
e8ecf74
[IMP] base_fontawesome: pre-commit auto fixes
shochstoeger Jun 27, 2024
a7dc5c7
[MIG] base_fontawesome: Migration to 17.0
shochstoeger Jun 27, 2024
653212b
removed unused templates folder
shochstoeger Jun 27, 2024
97335f6
[UPD] Update base_fontawesome.pot
May 7, 2025
a69cfc5
[BOT] post-merge updates
OCA-git-bot May 7, 2025
266c4c1
[IMP] base_fontawesome: pre-commit auto fixes
ByteMeAsap May 12, 2025
bfc30f3
[MIG] base_fontawesome: Migration to 18.0
ByteMeAsap May 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions base_fontawesome/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
================
Base Fontawesome
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:0f9c32cb77b5f53084e6e452be2ecfa618cf6bf271973ed7840b794cafcf445e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/18.0/base_fontawesome
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-base_fontawesome
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Provide up to date `Fontawesome <http://fontawesome.io/>`__ resources.

Current version: 6.5.1 (the version of this module matches it).

**Table of contents**

.. contents::
:local:

Usage
=====

Now, all free icons from `Font
Awesome <https://fontawesome.com/icons?d=gallery&m=free>`__ can be used
on odoo. It also adds three options in order to add the icons: \*
solid_icon \* regular_icon \* brand_icon The usage depends on the
configuration of the icon.

For example, brand_icon is necessary if we are using an icon of a brand:

::

<button brand_icon="fa-amazon-pay" string=" fa-amazon-pay"/>

<button brand_icon="fas fa-hand-sparkles" string=" fas fa-hand-sparkles"/>

<button brand_icon="fas fa-handshake-slash" string=" fas fa-handshake-slash"/>

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20base_fontawesome%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Camptocamp
* Creu Blanca

Contributors
------------

- Simone Orsi simone.orsi@camptocamp.com
- Enric Tobella <etobella@creublanca.es>
- Tony Galmiche <tony.galmiche@infosaone.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/18.0/base_fontawesome>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file added base_fontawesome/__init__.py
Empty file.
42 changes: 42 additions & 0 deletions base_fontawesome/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 2017 Simone Orsi
# Copyright 2018 Creu Blanca
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Base Fontawesome",
"summary": """Up to date Fontawesome resources.""",
"version": "18.0.1.0.0",
"license": "LGPL-3",
"website": "https://github.com/OCA/server-tools",
"author": "Camptocamp,Creu Blanca,Odoo Community Association (OCA)",
"depends": ["web"],
"assets": {
"web.assets_backend": [
(
"replace",
"web/static/src/libs/fontawesome/css/font-awesome.css",
"base_fontawesome/static/src/css/fontawesome.css",
),
"base_fontawesome/static/lib/fontawesome-6.6.0/css/all.css",
"base_fontawesome/static/lib/fontawesome-6.6.0/css/v4-shims.css",
],
"web.assets_frontend": [
(
"replace",
"web/static/src/libs/fontawesome/css/font-awesome.css",
"base_fontawesome/static/src/css/fontawesome.css",
),
"base_fontawesome/static/lib/fontawesome-6.6.0/css/all.css",
"base_fontawesome/static/lib/fontawesome-6.6.0/css/v4-shims.css",
],
"web.report_assets_common": [
(
"replace",
"web/static/src/libs/fontawesome/css/font-awesome.css",
"base_fontawesome/static/src/css/fontawesome.css",
),
"base_fontawesome/static/lib/fontawesome-6.6.0/css/all.css",
"base_fontawesome/static/lib/fontawesome-6.6.0/css/v4-shims.css",
],
},
}
13 changes: 13 additions & 0 deletions base_fontawesome/i18n/base_fontawesome.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Translation of Odoo Server.
# This file contains the translation of the fol 1E0A lowing modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
Empty file added base_fontawesome/i18n/es_AR.po
Empty file.
Empty file added base_fontawesome/i18n/es_ES.po
Empty file.
14 changes: 14 additions & 0 deletions base_fontawesome/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
Empty file added base_fontawesome/i18n/zh_CN.po
Empty file.
3 changes: 3 additions & 0 deletions base_fontawesome/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions base_fontawesome/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Simone Orsi <simone.orsi@camptocamp.com>
- Enric Tobella \<<etobella@creublanca.es>\>
- Tony Galmiche \<<tony.galmiche@infosaone.com>\>
3 changes: 3 additions & 0 deletions base_fontawesome/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Provide up to date [Fontawesome](http://fontawesome.io/) resources.

Current version: 6.5.1 (the version of this module matches it).
13 changes: 13 additions & 0 deletions base_fontawesome/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Now, all free icons from [Font
Awesome](https://fontawesome.com/icons?d=gallery&m=free) can be used on
odoo. It also adds three options in order to add the icons: \*
solid_icon \* regular_icon \* brand_icon The usage depends on the
configuration of the icon.

For example, brand_icon is necessary if we are using an icon of a brand:

<button brand_icon="fa-amazon-pay" string=" fa-amazon-pay"/>

<button brand_icon="fas fa-hand-sparkles" string=" fas fa-hand-sparkles"/>

<button brand_icon="fas fa-handshake-slash" string=" fas fa-handshake-slash"/>
Binary file added base_fontawesome/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
0