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

Hello,


i have installed nodejs and other required modules, also created new db after installation but till getting following issue. 


odoo.addons.base.ir.ir_qweb.assetsbundle: (b'', b'The "--no-js" argument is deprecated, as inline JavaScript is disabled by default. Use "--js" to enable inline JavaScript (not recommended).\nArgumentError: Error evaluating function `floor`: argument must be a number in - on line 3158, column 17:\n3157         height: @planner-height;\n3158         margin: floor((@odoo-navbar-height - @planner-height)/2) 10px 0;\n3159         cursor: pointer;\n\n')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/static/lib/bootstrap/less/mixins/clearfix.less

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

    - /web/static/src/less/variables.less

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

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

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

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

Avatar
Discard
Author Best Answer

I resolved this issue now.

issue was with version of lessc library.

use this version and all will works fine. lessc 3.10.3


Solution can be found Here: https://stackoverflow.com/questions/65435916/style-error-while-running-odoo-11-in-ubuntu-18-04

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 24
942
1
Jun 24
3563
1
Oct 23
8590
1
Oct 23
97
1
Aug 23
2192