Skip to content

l10n_cu_website_local_font: "Style Error" #1151

@yerandez

Description

@yerandez

Module
l10n_cu_website_local_font

Describe the bug
When installing the l10n_cu_website_local_font module in Odoo 17, a style compilation error occurs, which blocks the user interface. The error appears with the message: "Style Error. The style compilation failed. This is an administrator or developer error that must be fixed for the entire database before continuing to work. See the browser connection or server logs for more details." This prevents normal use of Odoo until the issue is resolved.

A screenshot of the error is shown below:
Image

To Reproduce
Affected versions: Odoo 17.0-20250913 (Community)

Steps to reproduce the behavior:

Have a clean installation of Odoo 17.

Download the l10n_cu_website_local_font module from the OCA repository (branch corresponding to Odoo 17, if available).

Place the module in the Odoo addons folder.

Start the Odoo server and update the module list.

Install the l10n_cu_website_local_font module from the Apps menu.

After installation, the style compilation error will appear in the user's inbox.

Expected behavior
The module should install correctly and allow uploading local fonts to the website without causing style compilation errors, maintaining normal Odoo functionality.

Additional context

Odoo 17.0-20250913 (Edición Community)

Browser used: [Specify browser and version, e.g., Chrome 120]

Diagnostic steps already taken:

Reviewed Odoo server logs, finding errors related to style compilation.

Checked the browser console, with no additional relevant errors.

Cleared style cache and restarted in --dev=reload mode.

Updated base modules (web, website).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions