Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6170 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 24
2460
1
giu 24
4983
1
ott 23
10664
1
ott 23
98
1
ago 23
2193