跳至內容
選單
此問題已被標幟
2 回覆
24309 瀏覽次數

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



頭像
捨棄

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.

作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 22
3134
0
5月 19
3412
1
6月 23
3224
0
10月 21
6039
0
3月 17
3652