Comments (9)
/Font-Awesome/icons/ i tried slack ( fa-slack ) and is not rendered
from odoo.
There are couple of things with odoo for FontAwesome I have discovered a
day back.
1st is there is a list of icons that has been hardcoded in JS.
https://github.com/odoo/odoo/blob/8.0/addons/website/static/src/js/website.editor.js#L1676
2ndly, FontAwsome version that odoo is using is 4.0.3 where latest is 4.2
available.
So you have to first update FontAwsome available in odoo and change
hardcode code for new icons.
On Sun, Sep 7, 2014 at 6:13 PM, Patrick Schanen [email protected]
wrote:
/Font-Awesome/icons/ i tried slack ( fa-slack ) and is not rendered
—
Reply to this email directly or view it on GitHub
#191 (comment).
Thanks & Regards,
Parthiv Patel
from odoo.
Thanks for the answer. I use actualy the hosted Odoo on www.business-solutions.lu https://business-solutions.odoo.com
from odoo.
@patrickschanen @josemoralesp @parthivgls, FontAwesome has just recently been updated to 4.2 from 4.0.3 with pull request #2104. Hope this helps.
from odoo.
@smack815 Thank you for pointing out.
As I can see #2104 added 4.1 but it's still fine, but why hardcoded icons list ?? couldn't it be more flexible that if odoo don't want to add new icons, some one using a modular approach can still write his own module to support new version !!!
from odoo.
@parthivgls If you read all of #2104, I convinced them to go with 4.2 for the upgrade.
The hard coding might be some old code that needs to be updated/rethought. You probably should make your comment directly to odoo in #2104.
from odoo.
As I can see #2104 added 4.1 but it's still fine, but why hardcoded icons list ??
How else would the editor know which icons are available, so that it could list them in the icon picker?
couldn't it be more flexible that if odoo don't want to add new icons, some one using a modular approach can still write his own module to support new version !!!
There's nothing preventing you from adding new icons to the list, just append them to website.editor.FontIconsDialog.icons
.
from odoo.
Hello,
I'm closing this as it is an implementation detail, as @xmo-odoo pointed out.
Regards
from odoo.
@parthivgls
Hi,
A small module https://github.com/krocket/website_font_awesome_4_3_0
regards.
from odoo.
Related Issues (20)
- None type i10n_es certificate
- [17.0] Widget Date isn't working for datetime field HOT 3
- Extra downpayment line with price zero auto generated when remove the tax on first downpayment invoice. HOT 1
- Change the daily backup time in Odoo.sh
- many2many_checkboxes not use One2many tree HOT 1
- ERROR Production odoo.addons.bus.websocket: 400 Bad Request: Empty or missing header(s): upgrade
- File Import while Dark Mode on, can't read text
- Odoo V16 pressing backspace ends in Uncaught-Javascript-Error
- Creating standalone app owl from tutorial. Error with ir.http AttributeError: 'Request' object has no attribute 'website'
- FIRST TIME LOG IN THROUGH LDAP LOG IN FAILED ALWAYS
- [17.0][BUG] Mail Wizard in Account Move (only!) doesn't attach report specified in mail template, instead keeps default report HOT 1
- gamification: The goal challenge check cron job leaves goals in progress after the challenge is done
- Keyboard Usage Issue in VOIP
- [JsonRcp] TypeError: keys must be str, int, float, bool or None, not frozendict
- [16.0] BUG: Session expires when accessing a read-only shared project via email and attempting to message it.
- [16][BUG] Importing payments with payment method causes error
- Variants gets duplicated (Odoo 17.2)
- Issue Printing Multiple Carrier Labels on Validation of Delivery/Return HOT 1
- Time Off cronjob error when employees have different working hours HOT 1
- [17.0] account: debit, credit can be modified even if is posted (Big, Big Issue) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odoo.