Repository
OCA/website · module folder · Try on Runboat
Module version
1.0.0
Category
Website
Folder size
2.33 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/website
Last tracking update
2026-08-07 08:23:03
Authors
Odoo Community Association (OCA), Onestein
Maintainers
Odoo Community Association (OCA), Onestein
Committers
Weblate, OCA-git-bot, oca-ci, Antonio David Ruban Espinal
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • add_local_font(self, font_name, extension, file_data)

New fields (0)

No new fields.

Public methods (1)
  • make_scss_customization(self, url, values)
    @api.model
    Added handling for local fonts deletion and addition in scss

Loading…