تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
24588 أدوات العرض

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
فبراير 22
3291
0
مايو 19
3551
1
يونيو 23
3459
0
أكتوبر 21
6230
0
مارس 17
3856