Skip to Content
Menu
This question has been flagged
2 Replies
15553 Views

Hi , 


I keep receiving the following error when loading the odoo . 

I've tried a couple of your solutions on the forum but none seem to have done the trick 


Server: ubuntu LTS 16.04 

Odoo V10 


2017-05-22 14:12:38,890 7015 WARNING odoo.addons.base.ir.ir_qweb.assetsbundle: NameError: variable @odoo-brand-optional is undefined in - on line 1500, column 24:

1499 @-webkit-keyframes inputHighlighter {

1500 from { background: @odoo-brand-optional; }

1501 to { width: 0; background: transparent; }

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

    - /web/static/lib/bootstrap/less/variables.less

    - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less

    - /web/static/lib/bootstrap/less/mixins/buttons.less

    - /web_enterprise/static/src/less/variables.less

    - /web/static/src/less/utils.less

    - /web_editor/static/src/less/web_editor.variables.less

    - /web/static/src/less/fonts.less

    - /web/static/src/less/navbar.less

    - /web/static/src/less/mimetypes.less

    - /web/static/src/less/animation.less

    - /web/static/lib/bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less

    - /web_planner/static/src/less/web_planner_common.less

    - /web_tour/static/src/less/tip.less

    - /web_tour/static/src/less/keyframes.less

    - /web_enterprise/static/src/less/fonts.less

    - /web_enterprise/static/src/less/navbar.less 2017-05-22 14:12:38,914 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:38,930 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:38,931 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:38,942 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:38,943 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:38,945 7015 WARNING Dice odoo.modules.module: module web_enterprise: module not found 2017-05-22 14:12:39,404 7015 WARNING Dice odoo.addons.base.ir.ir_qweb.assetsbundle: NameError: variable @odoo-brand-optional is undefined in - on line 1500, column 24:

1499 @-webkit-keyframes inputHighlighter {

1500 from { background: @odoo-brand-optional; }

1501 to { width: 0; background: transparent; }

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

    - /web/static/lib/bootstrap/less/variables.less

    - /web/static/lib/bootstrap/less/mixins/vendor-prefixes.less

    - /web/static/lib/bootstrap/less/mixins/buttons.less

    - /web_enterprise/static/src/less/variables.less

    - /web/static/src/less/utils.less

    - /web_editor/static/src/less/web_editor.variables.less

    - /web/static/src/less/import_bootstrap.less

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

Avatar
Discard

are you using enterprise edition?

Best Answer

Hello Kenneth,

    in odoo10 (Python2.7)

    Try:

    sudo pip install libsass==0.12.3 (For Python2.7)

    sudo pip3 install libsass==0.17.0 (For Python3)

    sudo npm install -g less@3.10.3 (First install Nodejs after run this command)

    Thank You.



Avatar
Discard

using sudo npm install -g less@3.10.3 (First install Nodejs after run this command) css load in odoo9 or openerp 9

Author

Beste Klant,

Bedankt voor uw mail.
Ik ben momenteel moeilijk bereikbaar tot en met 06/08/2023.
Voor dringende zaken kan u contact opnemen met helpdesk@effix.be of via 056/980011.

Dank
Kenneth Dejonghe

Dear customer,
Thank you for your email.
I am currently not available until 06/08/2023.
For urgent matters please contact helpdesk@effix.be or 056/980011.

Best regards
Kenneth Dejonghe

Best Answer

Did you include enterprise in your addons path, in openerp-server.conf (or odoo.conf if V10)?

it should contain something like this:

[options]
addons_path = /opt/local/odoo/enterprise,/opt/local/odoo/odoo/addons,/opt/local/odoo/odoo/odoo/addons,


By the way, having 'enterprise' before any other addons path is mandatory

Avatar
Discard