Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
24305 Vues

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
Ignorer

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.

Auteur Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
févr. 22
3134
0
mai 19
3411
1
juin 23
3224
0
oct. 21
6038
0
mars 17
3649