コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6202 ビュー

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

アバター
破棄
著作者 最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
2
7月 24
2525
1
6月 24
5005
1
10月 23
10689
1
10月 23
98
1
8月 23
2193