Website Local Font

website_local_font
REPOSITORY
REPOSITORYOCA/website
GIT
GIThttps://github.com/OCA/website.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website/tree/17.0/website_local_font
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Antonio David Ruban Espinal
WEBSITE
WEBSITEhttps://github.com/OCA/website
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

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
REPOSITORY
REPOSITORYOCA/website
GIT
GIThttps://github.com/OCA/website.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/website/tree/15.0/website_local_font
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYWebsite
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Onestein
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Onestein
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, anjeel.haria
WEBSITE
WEBSITEhttps://github.com/OCA/website
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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)
    Added handling for local fonts deletion and addition in scss