Skip to main content

Beta License: LGPL-3 OCA/website Translate me on Weblate Try me on Runboat

This module allows to add local fonts on Odoo website.

By default, Odoo only allows to upload fonts available from Google (fonts.google.com) and they can be made available locally or from Google’s server in addition to the fonts made available via website theme modules. But there’s no option to upload and have local fonts available across all website themes.

To overcome this limitation, this module has been developed to allow users to upload proprietary (or custom) fonts in the most widely used font formats - otf, ttf, woff and woff2 and make it available across all website themes.

The fonts can be deleted as well if not needed anymore.

Table of contents

Usage

To upload local fonts and use it for the website, you need to:

  1. Go to website (with editor enabled), click on ‘Edit’ and go to ‘THEMES’ section. Under Font Family, you would find an option ‘Add a Local Font’.

image

2.When you click on the ‘Add a Local Font’ option, a wizard would open with two fields- ‘Font File’ and ‘Font Name’. Upload the file with one of the supported file formats and the font name would be automatically updated based on the file. You can update the name or leave it as it is.

image1

3.Click on ‘Save & Reload’ Button, you will see the font is applied to the elements of the website.

image2

4.If you want to see the list of local fonts or delete the locally uploaded fonts, click on ‘Edit’ on website and go to ‘THEMES’ section. Under Font Family, you would find the newly added font.

image3

5.If you want to delete this locally added font, you can click on the delete icon next to it. Once, you click on the delete icon, it would open up a confirmation dialog.

image4

6.Once you click on ‘Ok’ button, the page would be refreshed and you would see the font is changed for the website and also the font is not found in the list.

image5

Bug Tracker

Bugs are tracked on GitHub 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.

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

Credits

Authors

  • Onestein

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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/website project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-website-local-font 17.0.1.0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-website-local-font 17.0.1.0.0.4
File Interpreter ABI Platform Actions
odoo_addon_website_local_font-17.0.1.0.0.4-py3-none-any.whl Python 3 none any Details for odoo_addon_website_local_font-17.0.1.0.0.4-py3-none-any.whl

Release files / odoo_addon_website_local_font-17.0.1.0.0.4-py3-none-any.whl

Download URL odoo_addon_website_local_font-17.0.1.0.0.4-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
16081f28c1b5b20abc354edd3191109c409540916020a00a7a85bb4c05f154a6
BLAKE2b-256 checksum
How to use checksums
cea288c016adcd2cd2486fb5c85af62ed7c4814986bdb4f55b58eba24c3050e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for odoo-addon-website-local-font 17.0.1.0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page