Skip to Content
Menu
This question has been flagged
1 Reply
6032 Views

I would like to test Odoo 9. I have it installed on CentOS 7. I had installed lessc, but while loading i'm getting this error:


WARNING odoo_9_alpha openerp.addons.base.ir.ir_qweb: /usr/local/share/gems/gems/less-2.6.0/bin/lessc:83:in `<top (required)>': invalid option: --clean-css (OptionParser::InvalidOption)

from /usr/local/bin/lessc:23:in `load'

from /usr/local/bin/lessc:23:in `<main>'

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

- /website/static/src/less/import_bootstrap.less

- /web/static/src/less/enterprise_compatibility.less

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

- /web/static/src/less/modal.less

- /web_calendar/static/src/less/web_calendar.less

- /web_kanban/static/src/less/kanban_dashboard.less

- /web_kanban/static/src/less/kanban_view.less


Layout of page is broken. Does anybody know what it could mean?

Avatar
Discard
Author Best Answer

I figured it out. Just deleted entries (clean-css, no-js)  from addons/base/ir/ir_qweb.py


#return [lessc, '-', '--clean-css', '--no-js', '--no-color', '--include-path=%s' % lesspath]

return [lessc, '-', '--no-color', '--include-path=%s' % lesspath]


Avatar
Discard
Related Posts Replies Views Activity
7
Dec 23
23469
3
Jan 16
3006
0
Sep 23
498
0
Sep 23
451
2
Feb 23
9255