Skip to Content
Menú
This question has been flagged
1 Respondre
6143 Vistes

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
Descartar
Autor 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
Descartar
Related Posts Respostes Vistes Activitat
2
de jul. 24
2438
1
de juny 24
4951
1
d’oct. 23
10619
1
d’oct. 23
98
1
d’ag. 23
2193