Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Real Estate
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Consulting
    • Accounting Firm
    • Партнер Odoo
    • Marketing Agency
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

Error and Styling Issue in Odoo 16 Database Migration

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
migrationassetsv14stylingodoo16features
2 Відповіді
3387 Переглядів
Аватар
Kahina

Hello,


I've encountered an error while trying to launch my database migrated from Odoo 14 to Odoo 16. The error message states:

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

Error: Undefined variable: "$o-dms-inspector-bg".
        on line 34037:35 of stdin, in mixin `@content`
        from line 78:7 of odoo/addons/web/static/lib/bootstrap/scss/mixins/_breakpoints.scss, in mixin `media-breakpoint-down`
        from line 34010:10 of stdin

>>                 overflow: auto;

   ----------------------------------^
This error occurred 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/mixins_forwardport.scss
    - /web/static/src/scss/bs_mixins_overrides.scss
    - /web/static/src/legacy/scss/utils.scss
    - /web_enterprise/static/src/scss/primary_variables.scss
    - /web/static/src/scss/primary_variables.scss
    - /web_enterprise/static/src/core/notifications/notifications.variables.scss
    - /web_enterprise/static/src/webclient/home_menu/home_menu.variables.scss
    - /web_enterprise/static/src/webclient/navbar/navbar.variables.scss
    - /web/static/src/core/notifications/notification.variables.scss
    - /web/static/src/search/control_panel/control_panel.variables.scss
    - /web/static/src/search/search_panel/search_panel.variables.scss
    - /web/static/src/views/form/form.variables.scss
    - /web/static/src/views/kanban/kanban.variables.scss

.... [List continues...]

Additionally, the interface styling appears distorted.


Any guidance on resolving this issue would be appreciated.


Thank you.

0
Аватар
Відмінити
Аватар
Dương Nguyễn
Найкраща відповідь

Probably because if your custom module contain datas and they might need to migrate into latest version (eg: in version 14 the data structure change a little bit and you need to modify those data in version 14 to adapt 16 one) then database will be corrupted.
But i looked back your error message and notice this think : $o-dms-inspector-bg is a variable of scss file, so probably you might troubleshot this and perhaps temporarily disable the scss file if needed

0
Аватар
Відмінити
Аватар
Kahina
Автор Найкраща відповідь

I did try both solutions, still having the same error unfortunately 

0
Аватар
Відмінити
Dương Nguyễn

May i ask, how do you migrate from odoo 14 to odoo 16. You use openupgrade script or odoo upgrade service ?

Kahina
Автор

I used Odoo upgrade service

Dương Nguyễn

Oh that's good, if you don't have any customer module, 3rd party apps then you can always asks Odoo about this, just contact with them for this error.
In case you have customer module or 3rd party apps, the error probably cause by those apps because they might not been upgrade into latest version yet.
if this answer help you, please up vote me or convert into best answer sir.

Kahina
Автор

Thank you for your suggestion. Yes, indeed, there are several custom addons in our Odoo instance that could potentially be causing the error. However, identifying which one is responsible for the error can be a bit challenging. Could you kindly guide me on the steps I could use to pinpoint the addon causing the issue? Any advice would be greatly appreciated.

Dương Nguyễn

Ok, in case you can't contact with the provider who you have bought those apps, you can send me the list of 3rd apps via email daiduongnguyen2709@gmail.com, then i'll will check.
Here is the link to guild you what to do when you want to upgrade database that have custom addons
https://www.odoo.com/documentation/17.0/developer/howtos/upgrade_custom_db.html#

Kahina
Автор

Thank you for your guidance and for offering to help. I followed all the steps mentioned in the provided link, including upgrading custom modules in an empty database to ensure compatibility with version 16. However, I skipped step 4 and directly launched the upgraded test database in my Odoo instance. Do you think that this could be the cause of the error?

Dương Nguyễn

Probably because if your custom module contain datas and they might need to migrate into latest version (eg: in version 14 the data structure change a little bit and you need to modify those data in version 14 to adapt 16 one) then database will be corrupted.
But i looked back your error message and notice this think : $o-dms-inspector-bg is a variable of scss file, so probably you might troubleshot this and perhaps temporarily disable the scss file if needed

Kahina
Автор

Thanks for your suggestion! I found the file with the "$o-dms-inspector-bg" variable, deleted the associated asset from the database, regenerated the asset bundle, updated the module and now everything's working fine. Appreciate your help!

Dương Nguyễn

Good to hear , can you up vote my answer or mark the best answer

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Реєстрація
Related Posts Відповіді Переглядів Дія
Migration script for stock.production.lot to stock.lot
migration v14 v15 odoo16features
Аватар
Аватар
1
груд. 24
5116
Migration script subscription fields to 16
migration subscription v14 odoo16features
Аватар
0
квіт. 23
2994
Missing assets when upgrading odoo 16 Вирішено
migration cache upgrade assets odoo16features
Аватар
1
лют. 24
6241
migrate custom module v14 to v16
migration update migrate v14 odoo16features
Аватар
Аватар
1
лип. 23
3503
Field used in context is restricted to certain groups Вирішено
migration odoo16features
Аватар
Аватар
Аватар
3
черв. 24
4040
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now