This question has been flagged
2 Replies
21019 Views

hi, i get this error when i run odoo instance :

odoo.addons.base.ir.ir_qweb.assetsbundle: SyntaxError: variable @text-color is undefined in - on line 608, column 1:

607 // Create classes for theme colors

608 .o-create-color-classes(alpha, @color-alpha);

609 .o-create-color-classes(beta, @color-beta);


This error occured while compiling the bundle 'web.assets_backend' containing:

    - /base_import/static/src/less/base_import.less

    - /web_calendar/static/src/less/web_calendar.less

    - /web_diagram/static/src/less/diagram_view.less

    - /web_editor/static/src/less/web_editor.common.less

    - /web_editor/static/src/less/web_editor.backend.less

    - /web_kanban/static/src/less/kanban_dashboard.less

    - /web_kanban/static/src/less/kanban_view.less

    - /web_settings_dashboard/static/src/less/dashboard.less



Avatar
Discard

It looks like your assets didn't load fully or got corrupted. Do a -u web to update the web module, it should restore the issues. If it doesn't then do a -u all to reload everything in Odoo.

Author Best Answer

I solved this issue by creating new database, and installing my custom module on that database.

Avatar
Discard