odoo / odoo/docker

Style error when upgrade odoo14 community to enterprise

Open
#363 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Hello,

Based on the docker image I am trying to install the enterprise version of Odoo. After installing the web_enterprise addon I am having problems with the styles and I get the following error message:

The style compilation failed, see the error below. Your recent actions may be the cause, please try reverting the changes you made.

Error: no mixin named o-form-nosheet-negative-margin
        on line 6832 of /stdin
>>             @include o-form-nosheet-negative-margin;

   ---------------------^
This error occured while compiling the bundle 'web.assets_backend' containing:
    - /web/static/lib/bootstrap/scss/_functions.scss
    - /web/static/lib/bootstrap/scss/_mixins.scss
    - /web/static/src/scss/bs_mixins_overrides.scss
    - /web/static/src/scss/utils.scss
    - /web/static/src/scss/primary_variables.scss
    - /web_enterprise/static/src/scss/primary_variables.scss
    - /web_editor/static/src/scss/web_editor.variables.scss
    - /web_editor/static/src/scss/secondary_variables.scss
    - /web_enterprise/static/src/scss/secondary_variables.scss
    - /web/static/src/scss/secondary_variables.scss
    - /web_editor/static/src/scss/bootstrap_overridden_backend.scss
    - /web_editor/static/src/scss/bootstrap_overridden.scss
    - /web_enterprise/static/src/scss/bootstrap_overridden.scss
    - /web/static/lib/bootstrap/scss/_variables.scss
    - /web/static/src/scss/import_bootstrap.scss
    - /web/static/src/scss/bootstrap_review.scss
    - /web_enterprise/static/src/scss/webclient.scss
    - /web_enterprise/static/src/scss/webclient_layout.scss
    - /web/static/src/scss/webclient.scss
    - /web/static/src/scss/domain_selector.scss
    - /web/static/src/scss/model_field_selector.scss
    - /web/static/src/scss/progress_bar.scss
    - /web/static/src/scss/dropdown.scss
    - /web_enterprise/static/src/scss/dropdown.scss
    - /web/static/src/scss/tooltip.scss
    - /web/static/src/scss/switch_company_menu.scss
    - /web/static/src/scss/debug_manager.scss
    - /web/static/src/scss/control_panel.scss
    - /web/static/src/scss/fields.scss
    - /web_enterprise/static/src/scss/fields.scss
    - /web/static/src/scss/file_upload.scss
    - /web/static/src/scss/views.scss
    - /web/static/src/scss/pivot_view.scss
    - /web/static/src/scss/graph_view.scss
    - /web/static/src/scss/form_view.scss
    - /web_enterprise/static/src/scss/form_view.scss
    - /web/static/src/scss/list_view.scss
    - /web_enterprise/static/src/scss/list_view.scss
    - /web/static/src/scss/kanban_dashboard.scss
    - /web/static/src/scss/kanban_examples_dialog.scss
    - /web/static/src/scss/kanban_column_progressbar.scss
    - /web/static/src/scss/kanban_view.scss
    - /web/static/src/scss/web_calendar.scss
    - /web/static/src/scss/search_view.scss
    - /web/static/src/scss/search_panel.scss
    - /web/static/src/scss/dropdown_menu.scss
    - /web_enterprise/static/src/scss/search_view.scss
    - /web/static/src/scss/data_export.scss
    - /base/static/src/scss/onboarding.scss
    - /web/static/src/scss/attachment_preview.scss
    - /web/static/src/scss/notification.scss
    - /web/static/src/scss/base_document_layout.scss
    - /web/static/src/scss/special_fields.scss
    - /web/static/src/scss/ribbon.scss
    - /web/static/src/scss/base_settings.scss
    - /web/static/src/scss/report_backend.scss
    - /web_mobile/static/src/scss/mobile.scss
    - /web_mobile/static/src/scss/pivot_view_mobile.scss
    - /base_import/static/src/scss/base_import.scss
    - /web_editor/static/src/scss/web_editor.common.scss
    - /web_editor/static/src/scss/web_editor.backend.scss
    - /web_enterprise/static/src/scss/base_settings_mobile.scss
    - /web_enterprise/static/src/scss/home_menu.scss
    - /web_enterprise/static/src/scss/home_menu_layout.scss
    - /web_enterprise/static/src/scss/search_panel_mobile.scss
    - /web_enterprise/static/src/scss/menu_mobile.scss
    - /web_enterprise/static/src/scss/menu_search.scss
    - /web_enterprise/static/src/scss/control_panel_layout.scss
    - /web_enterprise/static/src/scss/control_panel_mobile.scss
    - /web_enterprise/static/src/scss/datepicker.scss
    - /web_enterprise/static/src/scss/kanban_view.scss
    - /web_enterprise/static/src/scss/touch_device.scss
    - /web_enterprise/static/src/scss/snackbar.scss
    - /web_enterprise/static/src/scss/swipe_item_mixin.scss
    - /web_enterprise/static/src/scss/form_view_mobile.scss
    - /web_enterprise/static/src/scss/kanban_view_mobile.scss
    - /web_enterprise/static/src/scss/modal_mobile.scss
    - /web_enterprise/static/src/scss/web_calendar_mobile.scss
    - /web/static/src/scss/navbar_mobile.scss

I followed the instructions in the following link:
https://www.odoo.com/documentation/14.0/setup/enterprise.html#on-linux-using-the-source-code

Any idea what might be going on? Thanks a lot

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Odoo 14 community-to-enterprise upgrade using the Docker image and inspect the listed web and web_enterprise SCSS inputs for the web.assets_backend bundle. Start with the missing o-form-nosheet-negative-margin error and the documented enterprise setup instructions. Done means the backend asset bundle compiles without this style error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, scss
Domain
build-system, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.