Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
25083 Widoki

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



Awatar
Odrzuć

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.

Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 22
3574
0
maj 19
3798
1
cze 23
3881
0
paź 21
6636
0
mar 17
4044