# Odoo error while compiling the bundle #less

**URL:** <https://talk.openmrs.org/t/odoo-error-while-compiling-the-bundle-less/31649>\
**Category:** Bahmni\
**Tags:** error, odoo, bahmni\
**Created:** [January 11, 2021, 2:34pm UTC](https://talk.openmrs.org/t/odoo-error-while-compiling-the-bundle-less/31649 "2021-01-11T14:34:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vesakelmendi](https://talk.openmrs.org/letter_avatar/vesakelmendi/32/5_5575768a8748004e209b776fc1b2916d.png) [@vesakelmendi](https://talk.openmrs.org/u/vesakelmendi)\
**Post date:** [January 11, 2021, 2:34pm UTC](https://talk.openmrs.org/t/odoo-error-while-compiling-the-bundle-less/31649/1 "2021-01-11T14:34:11Z")

</div>

Hi,

Recently I am facing this problem with Odoo, after installing Bahmni version 0.92.

While trying to access Odoo, there is a yellow line at the top of the page. After logging in via credentials I was able to view the full error.

I must say that I am running the same install script as the one I used before New Year’s Eve, which worked very smooth, but now after re-trying to run it again I am getting this error:

> ```
> The \"--no-js\" argument is deprecated, as inline JavaScript is disabled by default. Use \"--js\" to enable inline JavaScript (not recommended).
> SyntaxError: Error evaluating function `floor`: argument must be a number in - on line 2866, column 9:
> 2865 // o_group contains nested groups 
> 2866 .o-generate-groups(@odoo-form-group-cols);
> 2867 .o-generate-groups(@n, @i: 1) when (@i =< @n) {
> 
> This error occured while compiling the bundle 'web.assets_backend' 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/src/less/variables.less
> - /web/static/src/less/utils.less 
> - /web_editor/static/src/less/web_editor.variables.less
> - /web/static/src/less/import_bootstrap.less
> - /web/static/src/less/bootstrap_overridden.less 
> - /web/static/src/less/webclient_extra.less
> - /web/static/src/less/webclient_layout.less
> - /web/static/src/less/webclient.less
> - /web/static/src/less/datepicker.less
> - /web/static/src/less/progress_bar.less
> - /web/static/src/less/dropdown.less
> - /web/static/src/less/tooltip.less
> - /web/static/src/less/debug_manager.less
> - /web/static/src/less/control_panel.less
> - /web/static/src/less/control_panel_layout.less 
> - /web/static/src/less/views.less
> - /web/static/src/less/pivot_view.less
> - /web/static/src/less/graph_view.less
> - /web/static/src/less/tree_view.less
> - /web/static/src/less/form_view_layout.less
> - /web/static/src/less/form_view.less
> - /web/static/src/less/list_view.less
> - /web/static/src/less/search_view.less
> - /web/static/src/less/modal.less
> - /web/static/src/less/data_export.less
> - /web/static/src/less/switch_company_menu.less
> - /web/static/src/less/dropdown_extra.less
> - /web/static/src/less/views_extra.less
> - /web/static/src/less/form_view_extra.less
> - /web/static/src/less/form_view_layout_extra.less
> - /web/static/src/less/search_view_extra.less
> - /account/static/src/less/account_reconciliation.less
> - /account/static/src/less/account_journal_dashboard.less
> - /base_import/static/src/less/base_import.less
> - /point_of_sale/static/src/less/pos_dashboard.less
> - /mail/static/src/less/announcement.less
> - /mail/static/src/less/client_action.less
> - /mail/static/src/less/chat_window.less
> - /mail/static/src/less/extended_chat_window.less
> - /mail/static/src/less/composer.less
> - /mail/static/src/less/chatter.less
> - /mail/static/src/less/followers.less
> - /mail/static/src/less/thread.less
> - /mail/static/src/less/systray.less
> - /payment/static/src/less/payment_acquirer.less
> - /report/static/src/less/report_backend.less
> - /sales_team/static/src/less/sales_team_dashboard.less
> - /web_calendar/static/src/less/web_calendar.less
> - /web_diagram/static/src/less/diagram_view.less
> - /web_editor/static/src/less/web_editor.common.less
> - /web_editor/static/src/less/web_editor.backend.less
> - /web_kanban/static/src/less/kanban_dashboard.less
> - /web_kanban/static/src/less/kanban_view.less
> - /web_settings_dashboard/static/src/less/dashboard.less
> 
> ```

Is anyone else facing the same error, or do you have a solution for this?

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [January 12, 2021, 11:59am UTC](https://talk.openmrs.org/t/odoo-error-while-compiling-the-bundle-less/31649/2 "2021-01-12T11:59:00Z")

</div>

Please see this [thread](https://talk.openmrs.org/t/bahmni-erp-page-loading-error-no-js-argument-deprecated-as-inline-javascript-is-disabled-by-default/31518/3)

---

<div class="post-metadata">

**Author:** ![vesakelmendi](https://talk.openmrs.org/letter_avatar/vesakelmendi/32/5_5575768a8748004e209b776fc1b2916d.png) [@vesakelmendi](https://talk.openmrs.org/u/vesakelmendi)\
**Post date:** [January 12, 2021, 2:42pm UTC](https://talk.openmrs.org/t/odoo-error-while-compiling-the-bundle-less/31649/3 "2021-01-12T14:42:23Z")

</div>

Thank you, this solved my issue.
