Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Error and Styling Issue in Odoo 16 Database Migration

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
migrationassetsv14stylingodoo16features
2 Respuestas
3441 Vistas
Avatar
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
Avatar
Descartar
Avatar
Dương Nguyễn
Mejor respuesta

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
Avatar
Descartar
Avatar
Kahina
Autor Mejor respuesta

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

0
Avatar
Descartar
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
Autor

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
Autor

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
Autor

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
Autor

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

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Migration script for stock.production.lot to stock.lot
migration v14 v15 odoo16features
Avatar
Avatar
1
dic 24
5182
Migration script subscription fields to 16
migration subscription v14 odoo16features
Avatar
0
abr 23
3039
Missing assets when upgrading odoo 16 Resuelto
migration cache upgrade assets odoo16features
Avatar
1
feb 24
6327
migrate custom module v14 to v16
migration update migrate v14 odoo16features
Avatar
Avatar
1
jul 23
3546
Field used in context is restricted to certain groups Resuelto
migration odoo16features
Avatar
Avatar
Avatar
3
jun 24
4102
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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